Documentation ¶
Overview ¶
Package memory provides registry chain based on memory chain elements
Index ¶
- func NewServer(ctx context.Context, options ...Option) registryserver.Registry
- type Option
- func WithAuthorizeNSERegistryServer(authorizeNSERegistryServer registry.NetworkServiceEndpointRegistryServer) Option
- func WithAuthorizeNSRegistryServer(authorizeNSRegistryServer registry.NetworkServiceRegistryServer) Option
- func WithDialOptions(dialOptions ...grpc.DialOption) Option
- func WithExpireDuration(expireDuration time.Duration) Option
- func WithProxyRegistryURL(proxyRegistryURL *url.URL) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v1.6.0
type Option func(o *serverOptions)
Option modifies server option value
func WithAuthorizeNSERegistryServer ¶ added in v1.6.0
func WithAuthorizeNSERegistryServer(authorizeNSERegistryServer registry.NetworkServiceEndpointRegistryServer) Option
WithAuthorizeNSERegistryServer sets authorization NetworkServiceEndpointRegistry chain element
func WithAuthorizeNSRegistryServer ¶ added in v1.6.0
func WithAuthorizeNSRegistryServer(authorizeNSRegistryServer registry.NetworkServiceRegistryServer) Option
WithAuthorizeNSRegistryServer sets authorization NetworkServiceRegistry chain element
func WithDialOptions ¶ added in v1.6.0
func WithDialOptions(dialOptions ...grpc.DialOption) Option
WithDialOptions sets grpc.DialOptions for the server
func WithExpireDuration ¶ added in v1.6.0
WithExpireDuration sets expire duration for the server
func WithProxyRegistryURL ¶ added in v1.6.0
WithProxyRegistryURL sets URL to reach the proxy registry
Click to show internal directories.
Click to hide internal directories.