Documentation ¶ Index ¶ type Method func Parse(str string) Method func (i Method) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Method ¶ type Method uint8 const ( Unknown Method = iota GET HEAD POST PUT DELETE CONNECT OPTIONS TRACE PATCH // Count is the last one enum, so contains the greatest integer value of all the // methods. So real number of methods is lower by 1 Count ) func Parse ¶ func Parse(str string) Method func (Method) String ¶ added in v0.8.1 func (i Method) String() string Source Files ¶ View all Source files method_string.go methods.go Click to show internal directories. Click to hide internal directories.