Documentation ¶
Index ¶
- func ActiveDevEnvironment()
- func Delete(ctx context.Context, endpoint string, funcs ...BuildParamFunc) ([]byte, error)
- func Get(ctx context.Context, endpoint string, funcs ...BuildParamFunc) ([]byte, error)
- func Post(ctx context.Context, endpoint string, funcs ...BuildParamFunc) ([]byte, error)
- func Put(ctx context.Context, endpoint string, funcs ...BuildParamFunc) ([]byte, error)
- type BuildParamFunc
- type Pagination
- type Param
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveDevEnvironment ¶
func ActiveDevEnvironment()
Types ¶
type BuildParamFunc ¶
func V ¶
func V(key string, value interface{}) BuildParamFunc
V return a build param func that set values
type Pagination ¶
type Param ¶
type Param interface { // read url query Query() url.Values // read body Body() []byte // read header Header() http.Header // Set Value SetValue(key string, value interface{}) // Set Header SetHeader(key, value string) }
func NewJsonParam ¶
func NewJsonParam() Param
func NewQueryParam ¶
func NewQueryParam() Param
Click to show internal directories.
Click to hide internal directories.