Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeepAlive ¶
func NewKeepAlive ¶
type RateLimit ¶
RateLimit is a wrapper for rate.Limit, support json and yaml unmarshal function yaml example 1: rate_limit: 2097152 # 2MiB yaml example 2: rate_limit: 2MiB
func (*RateLimit) UnmarshalJSON ¶
func (*RateLimit) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.