Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResolver ¶ added in v0.4.0
func NewResolver(rs resolverService, es endpointService) (*resolver, error)
Types ¶
type PublicKeyExtractor ¶ added in v0.4.0
type PublicKeyExtractor struct{}
func (PublicKeyExtractor) ExtractPublicKey ¶ added in v0.4.0
func (p PublicKeyExtractor) ExtractPublicKey(id view.Identity) (any, error)
type Resolver ¶
type ResolverService ¶ added in v0.4.0
type ResolverService struct {
// contains filtered or unexported fields
}
func NewResolverService ¶
func NewResolverService(config Config, service Service) (*ResolverService, error)
NewResolverService returns a new instance of the view-sdk endpoint resolverService
func (*ResolverService) GetIdentity ¶ added in v0.4.0
func (r *ResolverService) GetIdentity(label string) view.Identity
GetIdentity returns the identity associated to the passed label. The label is matched against the name
func (*ResolverService) LoadResolvers ¶ added in v0.4.0
func (r *ResolverService) LoadResolvers() error
LoadResolvers loads the resolvers specified in the configuration file, if any
Click to show internal directories.
Click to hide internal directories.