cache

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

Cache Selector

The cache selector is a client side load balancer for go-micro. This selector uses the registry Watcher to cache selected services. It defaults random hashed strategy for load balancing requests across services.

The implementation is at github.com/micro/go-micro/selector/cache but we add a link here for completeness.

Documentation

Overview

Package cache is a caching selector (the default selector)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSelector

func NewSelector(opts ...selector.Option) selector.Selector

NewSelector returns a new caching selector using the go-micro registry

Types

This section is empty.

Jump to

Keyboard shortcuts

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