Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpMethodSet ¶
type HttpMethodSet map[string]struct{}
HttpMethodSet http method set struct
func (HttpMethodSet) Add ¶
func (s HttpMethodSet) Add(methods ...string)
func (HttpMethodSet) List ¶
func (s HttpMethodSet) List() []string
type Set ¶
Set once set
func NewOnceSet ¶
NewOnceSet return an OnceSet instance Warning: OnceSet is not goroutine safe
Click to show internal directories.
Click to hide internal directories.