Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxLimit = 100
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrMakeReq ¶
type ErrMakeReq struct {
// contains filtered or unexported fields
}
func NewErrMakeReq ¶
func NewErrMakeReq(req http.Request, err error) *ErrMakeReq
func (*ErrMakeReq) Error ¶
func (e *ErrMakeReq) Error() string
func (*ErrMakeReq) Is ¶
func (*ErrMakeReq) Is(e errSpec) bool
func (*ErrMakeReq) Wrap ¶
func (e *ErrMakeReq) Wrap(cause error) error
type ErrParseHeader ¶
type ErrParseHeader struct {
// contains filtered or unexported fields
}
func NewErrParseHeader ¶
func NewErrParseHeader(header string, err error) *ErrParseHeader
func (*ErrParseHeader) Error ¶
func (e *ErrParseHeader) Error() string
func (*ErrParseHeader) Is ¶
func (*ErrParseHeader) Is(e errSpec) bool
func (*ErrParseHeader) Wrap ¶
func (e *ErrParseHeader) Wrap(cause error) error
type ErrReadBody ¶
type ErrReadBody struct {
// contains filtered or unexported fields
}
func NewErrReadBody ¶
func NewErrReadBody(err error) *ErrReadBody
func (*ErrReadBody) Error ¶
func (e *ErrReadBody) Error() string
func (*ErrReadBody) Is ¶
func (*ErrReadBody) Is(e errSpec) bool
func (*ErrReadBody) Wrap ¶
func (e *ErrReadBody) Wrap(cause error) error
type ErrWrongStatus ¶
type ErrWrongStatus struct {
// contains filtered or unexported fields
}
func NewErrWrongStatus ¶
func NewErrWrongStatus(recv int, exp int) *ErrWrongStatus
func (*ErrWrongStatus) Error ¶
func (e *ErrWrongStatus) Error() string
func (*ErrWrongStatus) Is ¶
func (*ErrWrongStatus) Is(e errSpec) bool
type ErrWrongURL ¶
type ErrWrongURL struct {
// contains filtered or unexported fields
}
func NewErrWrongURL ¶
func NewErrWrongURL(url string, err error) *ErrWrongURL
func (*ErrWrongURL) Error ¶
func (e *ErrWrongURL) Error() string
func (*ErrWrongURL) Is ¶
func (*ErrWrongURL) Is(e errSpec) bool
func (*ErrWrongURL) Wrap ¶
func (e *ErrWrongURL) Wrap(cause error) error
type ItemData ¶
type ItemData struct { Title string `json:"title"` Abstract string `json:"abstractNote"` ItemType string `json:"itemType"` Creators []Creator `json:"creators"` ParentKey string `json:"parentItem,omitempty"` ContentType string `json:"contentType,omitempty"` Filename string `json:"filename,omitempty"` }
type ItemsResult ¶
Click to show internal directories.
Click to hide internal directories.