logic

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(args *types.DeleteArgs) (*struct{}, *tp.Rerror)

Delete delete the rule of gray.

func Get

func Get(args *types.GetArgs) (*types.GrayMatch, *tp.Rerror)

Get get the rule of gray.

func IsGray

func IsGray(args *types.IsGrayArgs) (*types.IsGrayResult, *tp.Rerror)

IsGray check whether the service should use grayscale based on the uid.

func Set

func Set(args *types.SetArgs) (*struct{}, *tp.Rerror)

Set insert or update the regular expression for matching the URI.

Types

This section is empty.

Directories

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

Jump to

Keyboard shortcuts

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