Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CommandGet is a request command assigned to http "GET" method. CommandGet = NewRequestCommand(http.MethodGet) // CommandHead is a request command assigned to http "HEAD" method. CommandHead = NewRequestCommand(http.MethodHead) // CommandPost is a request command assigned to http "POST" method. CommandPost = NewRequestCommand(http.MethodPost) // CommandPut is a request command assigned to http "PUT" method. CommandPut = NewRequestCommand(http.MethodPut) // CommandPatch is a request command assigned to http "PATCH" method. CommandPatch = NewRequestCommand(http.MethodPatch) // CommandDelete is a request command assigned to http "DELETE" method. CommandDelete = NewRequestCommand(http.MethodDelete) // CommandConnect is a request command assigned to http "CONNECT" method. CommandConnect = NewRequestCommand(http.MethodConnect) // CommandOptions is a request command assigned to http "OPTIONS" method. CommandOptions = NewRequestCommand(http.MethodOptions) // CommandTrace is a request command assigned to http "TRACE" method. CommandTrace = NewRequestCommand(http.MethodTrace) )
Functions ¶
func NewRequestCallback ¶
NewRequestCallback returns a new Request Callback by the given http method.
func NewRequestCommand ¶
NewRequestCommand returns a new Request Command by the given http method.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.