Documentation ¶
Index ¶
- Constants
- type Request
- type Response
- func (res Response) Elapsed() time.Duration
- func (res Response) Error() error
- func (res Response) Fetched() int64
- func (res Response) IsErrored() bool
- func (res Response) Ops() int64
- func (res Response) StackRaw() []byte
- func (res Response) StackRawString() string
- func (res Response) StackSlice() []interface{}
- func (res Response) StackUnmarshal(i interface{}) error
- type ResponseError
Constants ¶
View Source
const ( ElapsedHeader = "X-Warp10-Elapsed" ErrorsLineHeader = "X-Warp10-Error-Line" ErrorMessageHeader = "X-Warp10-Error-Message" FetchedHeader = "X-Warp10-Fetched" OpsHeader = "X-Warp10-Ops" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
func NewRequest ¶
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (Response) StackRawString ¶
func (Response) StackSlice ¶
func (res Response) StackSlice() []interface{}
func (Response) StackUnmarshal ¶
type ResponseError ¶
func (ResponseError) Error ¶
func (err ResponseError) Error() string
Click to show internal directories.
Click to hide internal directories.