http_response

package
v0.0.0-...-66b2d06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Links struct {
	First string `json:"first"`
	Last  string `json:"last"`
	Prev  string `json:"prev"`
	Next  string `json:"next"`
}

func (Links) MarshalEasyJSON

func (v Links) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Links) MarshalJSON

func (v Links) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Links) UnmarshalEasyJSON

func (v *Links) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Links) UnmarshalJSON

func (v *Links) UnmarshalJSON(data []byte) error

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

func (v Meta) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Meta) MarshalJSON

func (v Meta) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Meta) UnmarshalEasyJSON

func (v *Meta) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Meta) UnmarshalJSON

func (v *Meta) UnmarshalJSON(data []byte) error

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 struct{} `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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL