endpoint

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPKIResolver

func NewPKIResolver() *pkiResolver

func NewResolverService

func NewResolverService(config *config.Config, service Service) (*resolverService, error)

NewResolverService returns a new instance of the view-sdk endpoint resolverService

Types

type Resolver

type Resolver struct {
	config.Resolver
	Id             []byte
	RootID         view.Identity
	IdentityGetter func() (view.Identity, []byte, error)
}

func (*Resolver) GetIdentity

func (r *Resolver) GetIdentity() (view.Identity, error)

type Service

type Service interface {
	Bind(longTerm view.Identity, ephemeral view.Identity) error
	AddResolver(name string, domain string, addresses map[string]string, aliases []string, id []byte) (view.Identity, error)
	AddPKIResolver(resolver view2.PKIResolver) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL