gray

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

README

gray

Use regular matching to perform grayscale access splitting with URI, session ID, real IP, or other labels.

Learn Example

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGray

func SetGray(
	biz *gwTypes.Business,
	grayClientConfig micro.CliConfig,
	grayEtcdConfig etcd.EasyConfig,
	mysqlConfig mysql.Config,
	redisConfig redis.Config,
	protoFunc socket.ProtoFunc,
) (grayClient *micro.Client, err error)

SetGray sets gray model to *gwTypes.Business. Note: the result grayClient may be used externally.

Types

This section is empty.

Directories

Path Synopsis
model
Package model is a generated protocol buffer package.
Package model is a generated protocol buffer package.
Package types is a generated protocol buffer package.
Package types is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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