Documentation ¶
Index ¶
- func Delete(ctx erpc.CallCtx, args *types.DeleteArgs) (*struct{}, *erpc.Status)
- func Get(ctx erpc.CallCtx, args *types.GetArgs) (*types.GrayMatch, *erpc.Status)
- func IsGray(ctx erpc.CallCtx, args *types.IsGrayArgs) (*types.IsGrayResult, *erpc.Status)
- func Route(root string, router *erpc.Router)
- func Set(ctx erpc.CallCtx, args *types.SetArgs) (*struct{}, *erpc.Status)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(ctx erpc.CallCtx, args *types.DeleteArgs) (*struct{}, *erpc.Status)
Delete delete the rule of gray.
func IsGray ¶
func IsGray(ctx erpc.CallCtx, args *types.IsGrayArgs) (*types.IsGrayResult, *erpc.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.