sdk

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

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

Delete delete the rule of gray.

func Get

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

Get get the rule of gray.

func Init

func Init(formalClientConfig micro.CliConfig, formalEtcdConfing etcd.EasyConfig)

Init initializes formal client with configs.

func InitWithClient

func InitWithClient(formalClient *micro.Client)

InitWithClient initializes formal client with specified object.

func IsGray

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

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

func Set

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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