Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Links ¶
type Links struct {
First string `json:"first"`
Last string `json:"last"`
Prev string `json:"prev"`
Next string `json:"next"`
}
func (Links) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Links) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Links) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Links) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Meta ¶
type Meta struct {
CurrentPage uint64 `json:"currentPage"`
From uint64 `json:"from"`
LastPage uint64 `json:"lastPage"`
Path string `json:"path"`
PerPage uint64 `json:"perPage"`
To uint64 `json:"to"`
Total uint64 `json:"total"`
}
func (Meta) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Meta) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Meta) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Meta) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type MultipleJSONResponse ¶
type MultipleJSONResponse struct {
Data interface{} `json:"data"`
}
func (MultipleJSONResponse) MarshalEasyJSON ¶
func (v MultipleJSONResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (MultipleJSONResponse) MarshalJSON ¶
func (v MultipleJSONResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*MultipleJSONResponse) UnmarshalEasyJSON ¶
func (v *MultipleJSONResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MultipleJSONResponse) UnmarshalJSON ¶
func (v *MultipleJSONResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type MultiplePaginatedJSONResponse ¶
type MultiplePaginatedJSONResponse struct {
Data interface{} `json:"data"`
Links Links `json:"links"`
Meta Meta `json:"meta"`
}
func (MultiplePaginatedJSONResponse) MarshalEasyJSON ¶
func (v MultiplePaginatedJSONResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (MultiplePaginatedJSONResponse) MarshalJSON ¶
func (v MultiplePaginatedJSONResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*MultiplePaginatedJSONResponse) UnmarshalEasyJSON ¶
func (v *MultiplePaginatedJSONResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MultiplePaginatedJSONResponse) UnmarshalJSON ¶
func (v *MultiplePaginatedJSONResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SingleJSONResponse ¶
type SingleJSONResponse struct {
Data interface{} `json:"data"`
}
func (SingleJSONResponse) MarshalEasyJSON ¶
func (v SingleJSONResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SingleJSONResponse) MarshalJSON ¶
func (v SingleJSONResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SingleJSONResponse) UnmarshalEasyJSON ¶
func (v *SingleJSONResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SingleJSONResponse) UnmarshalJSON ¶
func (v *SingleJSONResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface