Documentation ¶
Index ¶
- type Invoker
- func (d *Invoker) AddHeader(k, v string) *Invoker
- func (d *Invoker) BodyJSON(body interface{}) *Invoker
- func (d *Invoker) BodyRaw(body interface{}) *Invoker
- func (d *Invoker) Bytes(bs *[]byte) *Invoker
- func (d *Invoker) Delete(methodName string, args ...interface{}) *Invoker
- func (d *Invoker) FormField(k string, v string) *Invoker
- func (d *Invoker) FormFile(k string, fhs ...*multipart.FileHeader) *Invoker
- func (d *Invoker) Get(methodName string, args ...interface{}) *Invoker
- func (d *Invoker) OK() error
- func (d *Invoker) Post(methodName string, args ...interface{}) *Invoker
- func (d *Invoker) Put(methodName string, args ...interface{}) *Invoker
- func (d *Invoker) Query(k, v string) *Invoker
- func (d *Invoker) QueryBool(k string, b bool) *Invoker
- func (d *Invoker) QueryFloat(k string, v float64) *Invoker
- func (d *Invoker) QueryInt(k string, v int) *Invoker
- func (d *Invoker) QueryPBool(k string, b *bool) *Invoker
- func (d *Invoker) RespJSON(resp interface{}) *Invoker
- type Pub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invoker ¶
type Invoker struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.