Documentation ¶ Index ¶ func ToString(method Method) string type Method func Parse(str string) Method Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ToString ¶ func ToString(method Method) string 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 Source Files ¶ View all Source files methods.go Click to show internal directories. Click to hide internal directories.