Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpRequest ¶
type HttpRequest interface {
Post(url string, values url.Values) ([]byte, *RequestError)
}
type RequestError ¶
type RequestError struct { RequesterError // contains filtered or unexported fields }
func NewRequestError ¶
func NewRequestError(xErrorCode int, xErrorText error) *RequestError
func (*RequestError) Error ¶
func (e *RequestError) Error() string
func (*RequestError) ErrorCode ¶
func (e *RequestError) ErrorCode() int
type RequesterError ¶
type RequesterError interface {
ErrorCode() int
}
Click to show internal directories.
Click to hide internal directories.