Documentation
¶
Overview ¶
Package trusttunnel is the panel half of the TrustTunnel protocol plugin.
Index ¶
- Constants
- type NodeCredential
- type NodeSettings
- type Protocol
- func (p *Protocol) BuildInbound(in protocols.InboundInput) (plugin.InboundSpec, error)
- func (*Protocol) Clients() []plugin.ClientSupport
- func (*Protocol) DefaultSettings() (json.RawMessage, error)
- func (*Protocol) DisplayName() string
- func (*Protocol) Doctor() []protocols.Check
- func (*Protocol) Experimental() bool
- func (*Protocol) ID() string
- func (*Protocol) IssueCredential(protocols.IssueInput) (protocols.Issued, error)
- func (*Protocol) Render(in protocols.RenderInput) (plugin.Fragment, bool)
- func (*Protocol) SettingsSchema() []byte
- func (p *Protocol) Summary(raw json.RawMessage) string
- func (*Protocol) Validate(raw json.RawMessage) []protocols.FieldError
- type Settings
Constants ¶
const ID = "trusttunnel"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeCredential ¶
NodeCredential is the byte-stable verifier shipped to internal/node/trusttunnel. Keep this field order: the exact JSON bytes participate in the credential hash.
type NodeSettings ¶
type NodeSettings struct {
H3 bool `json:"h3"`
}
NodeSettings is the byte-stable JSON consumed by internal/node/trusttunnel.
type Protocol ¶
type Protocol struct{}
func (*Protocol) BuildInbound ¶
func (p *Protocol) BuildInbound(in protocols.InboundInput) (plugin.InboundSpec, error)
func (*Protocol) Clients ¶
func (*Protocol) Clients() []plugin.ClientSupport
func (*Protocol) DefaultSettings ¶
func (*Protocol) DefaultSettings() (json.RawMessage, error)
func (*Protocol) DisplayName ¶
func (*Protocol) Experimental ¶
func (*Protocol) IssueCredential ¶
func (*Protocol) SettingsSchema ¶
func (*Protocol) Validate ¶
func (*Protocol) Validate(raw json.RawMessage) []protocols.FieldError