Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPathMethodInvalid = errors.New("pathmethod string invalid")
Functions ¶
func PathMethod ¶
PathMethod returns a path-method string which can be used as a unique identifier for an HTTP endpoint.
Types ¶
type PathMethodSet ¶
func NewPathMethodSet ¶
func NewPathMethodSet() PathMethodSet
func (*PathMethodSet) Add ¶
func (pms *PathMethodSet) Add(pathmethods ...string) error
Add adds pathmethod strings
func (*PathMethodSet) Count ¶
func (pms *PathMethodSet) Count() int
func (*PathMethodSet) Exists ¶
func (pms *PathMethodSet) Exists(htPath, htMethod string) bool
func (*PathMethodSet) StringExists ¶
func (pms *PathMethodSet) StringExists(pathMethod string) bool
Click to show internal directories.
Click to hide internal directories.