Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetV2ResponseCode ¶
GetV2ResponseCode 获取返回码
Types ¶
type RateLimitServiceV2 ¶
type RateLimitServiceV2 struct {
// contains filtered or unexported fields
}
RateLimitServiceV2 限流Server:v2接口
func (*RateLimitServiceV2) Service ¶
func (s *RateLimitServiceV2) Service(stream apiv2.RateLimitGRPCV2_ServiceServer) error
Service 限流KEY初始化
func (*RateLimitServiceV2) TimeAdjust ¶
func (s *RateLimitServiceV2) TimeAdjust( ctx context.Context, req *apiv2.TimeAdjustRequest) (*apiv2.TimeAdjustResponse, error)
TimeAdjust 获取时间戳
Click to show internal directories.
Click to hide internal directories.