Documentation ¶
Index ¶
- func Delete(args *types.DeleteArgs, setting ...tp.MessageSetting) (*struct{}, *tp.Status)
- func Get(args *types.GetArgs, setting ...tp.MessageSetting) (*types.GrayMatch, *tp.Status)
- func Init(formalClientConfig micro.CliConfig, formalEtcdConfing etcd.EasyConfig)
- func InitWithClient(formalClient *micro.Client)
- func IsGray(args *types.IsGrayArgs, setting ...tp.MessageSetting) (*types.IsGrayResult, *tp.Status)
- func Set(args *types.SetArgs, setting ...tp.MessageSetting) (*struct{}, *tp.Status)
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 Init ¶
func Init(formalClientConfig micro.CliConfig, formalEtcdConfing etcd.EasyConfig)
Init initializes formal client with configs.
func InitWithClient ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.