Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewForServer ¶
func NewForServer(keyFetcher KeyFetcher, optionsBuilders ...OptionsBuilder) apicommon.ServerMiddleware
Types ¶
type KeyFetcher ¶
type OptionsBuilder ¶
type OptionsBuilder func(options *options)
func MaxHeaderStrLength ¶
func MaxHeaderStrLength(value int) OptionsBuilder
func MaxTimestampSkew ¶
func MaxTimestampSkew(value int64) OptionsBuilder
func TimestampGetter ¶
func TimestampGetter(value func() int64) OptionsBuilder
Click to show internal directories.
Click to hide internal directories.