Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload interface {
Equal(v interface{})
}
Payload is the essential interface for result check.
type Request ¶
Request implement a simple interface for rest request
func (*Request) WithParams ¶
WithParams add query string params
func (*Request) WithResponeAs ¶
WithResponeAs set the body struct
type Rester ¶
type Rester struct {
// contains filtered or unexported fields
}
Rester is a instance to keep http info.
func (*Rester) List ¶
List all object of special path, notice that / is the relative root and empty is the root path. Howerver, this request should return an array.
Click to show internal directories.
Click to hide internal directories.