Documentation ¶ Overview ¶ Code generated by "-output cache_entry_map.gen.go -type cacheEntryMap<string,*cacheEntry> -output cache_entry_map.gen.go -type cacheEntryMap<string,*cacheEntry>"; DO NOT EDIT. Package querycache adds possible to cache Find queries Index ¶ func NewClient(ctx context.Context, opts ...Option) registry.NetworkServiceEndpointRegistryClient type Option func WithExpireTimeout(expireTimeout time.Duration) Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(ctx context.Context, opts ...Option) registry.NetworkServiceEndpointRegistryClient NewClient creates new querycache NSE registry client that caches all resolved NSEs Types ¶ type Option ¶ type Option func(c *cache) Option is an option for cache func WithExpireTimeout ¶ func WithExpireTimeout(expireTimeout time.Duration) Option WithExpireTimeout sets cache expire timeout Source Files ¶ View all Source files cache.go cache_entry_map.gen.go gen.go nse_client.go option.go Click to show internal directories. Click to hide internal directories.