shard

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "shard"

Variables

This section is empty.

Functions

func NewBuilder

func NewBuilder() (balancer.Builder, error)

func NewNamedBuilder added in v0.2.1

func NewNamedBuilder(name string) (balancer.Builder, error)

Types

type ShardLBCtxKeyType added in v0.1.3

type ShardLBCtxKeyType string
const DefaultShardKeyName ShardLBCtxKeyType = "shard_key"

Jump to

Keyboard shortcuts

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