Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthScopes ¶
type FormParams ¶
type FormParams UrlQueries
type HttpHeaders ¶
type HttpMethod ¶
type HttpMethod string
var ( HEAD HttpMethod = HttpMethod("HEAD") PATCH HttpMethod = HttpMethod("PATCH") GET HttpMethod = HttpMethod("GET") POST HttpMethod = HttpMethod("POST") PUT HttpMethod = HttpMethod("PUT") DELETE HttpMethod = HttpMethod("DELETE") MULTIPART HttpMethod = HttpMethod("POST") )
type MethodSpec ¶
type MethodSpec struct { Doc string UrlRoute string HttpHeaders HttpHeaders HttpMethod HttpMethod HttpMethods []HttpMethod UrlQueries UrlQueries FormParams FormParams ContentTypes []string RequestBody ObjectFactory ResponseBody ObjectFactory CallbackEvent EventKey CallbackBodyTemplate string AuthScope string }
type ObjectFactory ¶
type QueryDefault ¶
type QueryDefault interface{}
type ServiceMethod ¶
type ServiceMethod int
type ServiceMethods ¶
type ServiceMethods map[ServiceMethod]MethodSpec
type UrlQueries ¶
type UrlQueries map[string]QueryDefault
Click to show internal directories.
Click to hide internal directories.