Documentation ¶
Index ¶
- func LookupIPv4(endpoint string) string
- func NewPKIResolver() *pkiResolver
- func NewResolverService(config ConfigService, service Service, is IdentityService) (*resolverService, error)
- func NewService(sp view2.ServiceProvider, discovery Discovery, kvs KVS) (*service, error)
- type ConfigService
- type Discovery
- type Identity
- type IdentityService
- type KVS
- type NetworkMember
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupIPv4 ¶
func NewPKIResolver ¶
func NewPKIResolver() *pkiResolver
func NewResolverService ¶
func NewResolverService(config ConfigService, service Service, is IdentityService) (*resolverService, error)
NewResolverService returns a new instance of the view-sdk endpoint resolverService
func NewService ¶
func NewService(sp view2.ServiceProvider, discovery Discovery, kvs KVS) (*service, error)
NewService returns a new instance of the view-sdk endpoint service
Types ¶
type ConfigService ¶
type Discovery ¶
type Discovery interface {
Peers() []NetworkMember
}
type IdentityService ¶
type NetworkMember ¶
NetworkMember is a peer's representation
Click to show internal directories.
Click to hide internal directories.