logic

package
v6.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

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

Delete delete the rule of gray.

func Get

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

Get get the rule of gray.

func IsGray

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

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

func Set

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

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