📖 Package Overview

No package documentation available.

Functions

func NewInitiatorClientRequest

func NewInitiatorClientRequest()

func ParseNetworkNodesFromEnv

func ParseNetworkNodesFromEnv()

Types

type InitiatorClientAuth

type InitiatorClientAuth struct {
	Wpbe         *WpbeAuth     `json:"Wpbe,omitempty"`
	NetworkAdmin *NetworkAdmin `json:"NetworkAdmin,omitempty"`
}

type InitiatorClientRequest

type InitiatorClientRequest struct {
	ClientAuth *InitiatorClientAuth   `json:"client_auth"`
	WpReq      *wp_requests.WpRequest `json:"wp_req"`
}

type NetworkAdmin

type NetworkAdmin struct {
	AdminSig string `json:"admin_sig"`
}

type NetworkNode

type NetworkNode struct {
	Endpoint    url.URL               `json:"endpoint"`
	Attestation types.NodeAttestation `json:"attestation"`
}

type WpbeAuth

type WpbeAuth struct {
	APIKey string `json:"api_key"`
	WPSig  string `json:"wp_sig"`
}