Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorization ¶
Authorization is a middleware to check the token in Authorization header. It returns empty string if the token is not found or invalid.
func MemoryLimit ¶ added in v0.1.1
Types ¶
type Option ¶ added in v0.1.1
type Option func(*serverCfg)
func WithMemoryLimit ¶ added in v0.1.1
func WithReadMemStats ¶ added in v0.1.1
func WithReadMemStats(fn ReadMemStatsFn) Option
type ReadMemStatsFn ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.