Documentation
¶
Index ¶
- func IsValidReq(req *pb.SubscribeRequest) bool
- func MessageToAny(msg proto.Message) *anypb.Any
- func MessageToAnyWithError(msg proto.Message) (*anypb.Any, error)
- func RatioStr2Float(ratioStr string) (float64, error)
- func Str2CBStrategy(cbStr string) pb.CircuitBreakerStrategy_Strategy
- func Str2LimitNode(lnStr string) pb.ConcurrencyLimitStrategy_LimitMode
- func Str2MillSeconds(timeStr string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidReq ¶
func IsValidReq(req *pb.SubscribeRequest) bool
func MessageToAny ¶
MessageToAny converts from proto message to proto Any
func MessageToAnyWithError ¶
MessageToAnyWithError converts from proto message to proto Any
func RatioStr2Float ¶
func Str2CBStrategy ¶
func Str2CBStrategy(cbStr string) pb.CircuitBreakerStrategy_Strategy
func Str2LimitNode ¶
func Str2LimitNode(lnStr string) pb.ConcurrencyLimitStrategy_LimitMode
func Str2MillSeconds ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.