Documentation ¶
Index ¶
- Constants
- type GetBakerChartInfo
- type GetBakerChartInfoBadRequest
- type GetBakerChartInfoHandler
- type GetBakerChartInfoHandlerFunc
- type GetBakerChartInfoInternalServerError
- type GetBakerChartInfoOK
- type GetBakerChartInfoParams
- type GetBakerChartInfoURL
- func (o *GetBakerChartInfoURL) Build() (*url.URL, error)
- func (o *GetBakerChartInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBakerChartInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBakerChartInfoURL) SetBasePath(bp string)
- func (o *GetBakerChartInfoURL) String() string
- func (o *GetBakerChartInfoURL) StringFull(scheme, host string) string
- func (o *GetBakerChartInfoURL) WithBasePath(bp string) *GetBakerChartInfoURL
- type GetBlocksPriorityChartInfo
- type GetBlocksPriorityChartInfoBadRequest
- type GetBlocksPriorityChartInfoHandler
- type GetBlocksPriorityChartInfoHandlerFunc
- type GetBlocksPriorityChartInfoInternalServerError
- type GetBlocksPriorityChartInfoOK
- func (o *GetBlocksPriorityChartInfoOK) SetPayload(payload []*models.BlockPriorityChartData)
- func (o *GetBlocksPriorityChartInfoOK) WithPayload(payload []*models.BlockPriorityChartData) *GetBlocksPriorityChartInfoOK
- func (o *GetBlocksPriorityChartInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetBlocksPriorityChartInfoParams
- type GetBlocksPriorityChartInfoURL
- func (o *GetBlocksPriorityChartInfoURL) Build() (*url.URL, error)
- func (o *GetBlocksPriorityChartInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetBlocksPriorityChartInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetBlocksPriorityChartInfoURL) SetBasePath(bp string)
- func (o *GetBlocksPriorityChartInfoURL) String() string
- func (o *GetBlocksPriorityChartInfoURL) StringFull(scheme, host string) string
- func (o *GetBlocksPriorityChartInfoURL) WithBasePath(bp string) *GetBlocksPriorityChartInfoURL
- type GetChartsInfo
- type GetChartsInfoBadRequest
- type GetChartsInfoHandler
- type GetChartsInfoHandlerFunc
- type GetChartsInfoInternalServerError
- type GetChartsInfoOK
- type GetChartsInfoParams
- type GetChartsInfoURL
- func (o *GetChartsInfoURL) Build() (*url.URL, error)
- func (o *GetChartsInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetChartsInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetChartsInfoURL) SetBasePath(bp string)
- func (o *GetChartsInfoURL) String() string
- func (o *GetChartsInfoURL) StringFull(scheme, host string) string
- func (o *GetChartsInfoURL) WithBasePath(bp string) *GetChartsInfoURL
- type GetHealthCheckInfo
- type GetHealthCheckInfoBadRequest
- type GetHealthCheckInfoHandler
- type GetHealthCheckInfoHandlerFunc
- type GetHealthCheckInfoInternalServerError
- type GetHealthCheckInfoOK
- type GetHealthCheckInfoParams
- type GetHealthCheckInfoURL
- func (o *GetHealthCheckInfoURL) Build() (*url.URL, error)
- func (o *GetHealthCheckInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetHealthCheckInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetHealthCheckInfoURL) SetBasePath(bp string)
- func (o *GetHealthCheckInfoURL) String() string
- func (o *GetHealthCheckInfoURL) StringFull(scheme, host string) string
- func (o *GetHealthCheckInfoURL) WithBasePath(bp string) *GetHealthCheckInfoURL
- type GetInfo
- type GetInfoBadRequest
- type GetInfoHandler
- type GetInfoHandlerFunc
- type GetInfoInternalServerError
- type GetInfoOK
- type GetInfoParams
- type GetInfoURL
- func (o *GetInfoURL) Build() (*url.URL, error)
- func (o *GetInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetInfoURL) SetBasePath(bp string)
- func (o *GetInfoURL) String() string
- func (o *GetInfoURL) StringFull(scheme, host string) string
- func (o *GetInfoURL) WithBasePath(bp string) *GetInfoURL
- type GetThirdPartyBakersHandler
- type GetThirdPartyBakersHandlerBadRequest
- type GetThirdPartyBakersHandlerHandler
- type GetThirdPartyBakersHandlerHandlerFunc
- type GetThirdPartyBakersHandlerInternalServerError
- type GetThirdPartyBakersHandlerOK
- func (o *GetThirdPartyBakersHandlerOK) SetPayload(payload []*models.ThirdPartyBakers)
- func (o *GetThirdPartyBakersHandlerOK) WithPayload(payload []*models.ThirdPartyBakers) *GetThirdPartyBakersHandlerOK
- func (o *GetThirdPartyBakersHandlerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetThirdPartyBakersHandlerParams
- type GetThirdPartyBakersHandlerURL
- func (o *GetThirdPartyBakersHandlerURL) Build() (*url.URL, error)
- func (o *GetThirdPartyBakersHandlerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetThirdPartyBakersHandlerURL) Must(u *url.URL, err error) *url.URL
- func (o *GetThirdPartyBakersHandlerURL) SetBasePath(bp string)
- func (o *GetThirdPartyBakersHandlerURL) String() string
- func (o *GetThirdPartyBakersHandlerURL) StringFull(scheme, host string) string
- func (o *GetThirdPartyBakersHandlerURL) WithBasePath(bp string) *GetThirdPartyBakersHandlerURL
Constants ¶
const GetBakerChartInfoBadRequestCode int = 400
GetBakerChartInfoBadRequestCode is the HTTP code returned for type GetBakerChartInfoBadRequest
const GetBakerChartInfoInternalServerErrorCode int = 500
GetBakerChartInfoInternalServerErrorCode is the HTTP code returned for type GetBakerChartInfoInternalServerError
const GetBakerChartInfoOKCode int = 200
GetBakerChartInfoOKCode is the HTTP code returned for type GetBakerChartInfoOK
const GetBlocksPriorityChartInfoBadRequestCode int = 400
GetBlocksPriorityChartInfoBadRequestCode is the HTTP code returned for type GetBlocksPriorityChartInfoBadRequest
const GetBlocksPriorityChartInfoInternalServerErrorCode int = 500
GetBlocksPriorityChartInfoInternalServerErrorCode is the HTTP code returned for type GetBlocksPriorityChartInfoInternalServerError
const GetBlocksPriorityChartInfoOKCode int = 200
GetBlocksPriorityChartInfoOKCode is the HTTP code returned for type GetBlocksPriorityChartInfoOK
const GetChartsInfoBadRequestCode int = 400
GetChartsInfoBadRequestCode is the HTTP code returned for type GetChartsInfoBadRequest
const GetChartsInfoInternalServerErrorCode int = 500
GetChartsInfoInternalServerErrorCode is the HTTP code returned for type GetChartsInfoInternalServerError
const GetChartsInfoOKCode int = 200
GetChartsInfoOKCode is the HTTP code returned for type GetChartsInfoOK
const GetHealthCheckInfoBadRequestCode int = 400
GetHealthCheckInfoBadRequestCode is the HTTP code returned for type GetHealthCheckInfoBadRequest
const GetHealthCheckInfoInternalServerErrorCode int = 500
GetHealthCheckInfoInternalServerErrorCode is the HTTP code returned for type GetHealthCheckInfoInternalServerError
const GetHealthCheckInfoOKCode int = 200
GetHealthCheckInfoOKCode is the HTTP code returned for type GetHealthCheckInfoOK
const GetInfoBadRequestCode int = 400
GetInfoBadRequestCode is the HTTP code returned for type GetInfoBadRequest
const GetInfoInternalServerErrorCode int = 500
GetInfoInternalServerErrorCode is the HTTP code returned for type GetInfoInternalServerError
const GetInfoOKCode int = 200
GetInfoOKCode is the HTTP code returned for type GetInfoOK
const GetThirdPartyBakersHandlerBadRequestCode int = 400
GetThirdPartyBakersHandlerBadRequestCode is the HTTP code returned for type GetThirdPartyBakersHandlerBadRequest
const GetThirdPartyBakersHandlerInternalServerErrorCode int = 500
GetThirdPartyBakersHandlerInternalServerErrorCode is the HTTP code returned for type GetThirdPartyBakersHandlerInternalServerError
const GetThirdPartyBakersHandlerOKCode int = 200
GetThirdPartyBakersHandlerOKCode is the HTTP code returned for type GetThirdPartyBakersHandlerOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetBakerChartInfo ¶
type GetBakerChartInfo struct { Context *middleware.Context Handler GetBakerChartInfoHandler }
GetBakerChartInfo swagger:route GET /v2/data/{platform}/{network}/charts/bakers App Info getBakerChartInfo
GetBakerChartInfo get baker chart info API
func NewGetBakerChartInfo ¶
func NewGetBakerChartInfo(ctx *middleware.Context, handler GetBakerChartInfoHandler) *GetBakerChartInfo
NewGetBakerChartInfo creates a new http.Handler for the get baker chart info operation
func (*GetBakerChartInfo) ServeHTTP ¶
func (o *GetBakerChartInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBakerChartInfoBadRequest ¶
type GetBakerChartInfoBadRequest struct { }
GetBakerChartInfoBadRequest Bad request
swagger:response getBakerChartInfoBadRequest
func NewGetBakerChartInfoBadRequest ¶
func NewGetBakerChartInfoBadRequest() *GetBakerChartInfoBadRequest
NewGetBakerChartInfoBadRequest creates GetBakerChartInfoBadRequest with default headers values
func (*GetBakerChartInfoBadRequest) WriteResponse ¶
func (o *GetBakerChartInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBakerChartInfoHandler ¶
type GetBakerChartInfoHandler interface {
Handle(GetBakerChartInfoParams) middleware.Responder
}
GetBakerChartInfoHandler interface for that can handle valid get baker chart info params
type GetBakerChartInfoHandlerFunc ¶
type GetBakerChartInfoHandlerFunc func(GetBakerChartInfoParams) middleware.Responder
GetBakerChartInfoHandlerFunc turns a function with the right signature into a get baker chart info handler
func (GetBakerChartInfoHandlerFunc) Handle ¶
func (fn GetBakerChartInfoHandlerFunc) Handle(params GetBakerChartInfoParams) middleware.Responder
Handle executing the request and returning a response
type GetBakerChartInfoInternalServerError ¶
type GetBakerChartInfoInternalServerError struct { }
GetBakerChartInfoInternalServerError Internal error
swagger:response getBakerChartInfoInternalServerError
func NewGetBakerChartInfoInternalServerError ¶
func NewGetBakerChartInfoInternalServerError() *GetBakerChartInfoInternalServerError
NewGetBakerChartInfoInternalServerError creates GetBakerChartInfoInternalServerError with default headers values
func (*GetBakerChartInfoInternalServerError) WriteResponse ¶
func (o *GetBakerChartInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBakerChartInfoOK ¶
type GetBakerChartInfoOK struct { /* In: Body */ Payload []*models.BakerChartData `json:"body,omitempty"` }
GetBakerChartInfoOK Application info endpoint
swagger:response getBakerChartInfoOK
func NewGetBakerChartInfoOK ¶
func NewGetBakerChartInfoOK() *GetBakerChartInfoOK
NewGetBakerChartInfoOK creates GetBakerChartInfoOK with default headers values
func (*GetBakerChartInfoOK) SetPayload ¶
func (o *GetBakerChartInfoOK) SetPayload(payload []*models.BakerChartData)
SetPayload sets the payload to the get baker chart info o k response
func (*GetBakerChartInfoOK) WithPayload ¶
func (o *GetBakerChartInfoOK) WithPayload(payload []*models.BakerChartData) *GetBakerChartInfoOK
WithPayload adds the payload to the get baker chart info o k response
func (*GetBakerChartInfoOK) WriteResponse ¶
func (o *GetBakerChartInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBakerChartInfoParams ¶
type GetBakerChartInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query Default: 20 */ Limit *int64 /*Not used Required: true In: path */ Network string /*Not used Required: true In: path */ Platform string }
GetBakerChartInfoParams contains all the bound params for the get baker chart info operation typically these are obtained from a http.Request
swagger:parameters getBakerChartInfo
func NewGetBakerChartInfoParams ¶
func NewGetBakerChartInfoParams() GetBakerChartInfoParams
NewGetBakerChartInfoParams creates a new GetBakerChartInfoParams object with the default values initialized.
func (*GetBakerChartInfoParams) BindRequest ¶
func (o *GetBakerChartInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetBakerChartInfoParams() beforehand.
type GetBakerChartInfoURL ¶
type GetBakerChartInfoURL struct { Network string Platform string Limit *int64 // contains filtered or unexported fields }
GetBakerChartInfoURL generates an URL for the get baker chart info operation
func (*GetBakerChartInfoURL) Build ¶
func (o *GetBakerChartInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBakerChartInfoURL) BuildFull ¶
func (o *GetBakerChartInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBakerChartInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBakerChartInfoURL) SetBasePath ¶
func (o *GetBakerChartInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBakerChartInfoURL) String ¶
func (o *GetBakerChartInfoURL) String() string
String returns the string representation of the path with query string
func (*GetBakerChartInfoURL) StringFull ¶
func (o *GetBakerChartInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBakerChartInfoURL) WithBasePath ¶
func (o *GetBakerChartInfoURL) WithBasePath(bp string) *GetBakerChartInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetBlocksPriorityChartInfo ¶
type GetBlocksPriorityChartInfo struct { Context *middleware.Context Handler GetBlocksPriorityChartInfoHandler }
GetBlocksPriorityChartInfo swagger:route GET /v2/data/{platform}/{network}/charts/blocks_priority App Info getBlocksPriorityChartInfo
GetBlocksPriorityChartInfo get blocks priority chart info API
func NewGetBlocksPriorityChartInfo ¶
func NewGetBlocksPriorityChartInfo(ctx *middleware.Context, handler GetBlocksPriorityChartInfoHandler) *GetBlocksPriorityChartInfo
NewGetBlocksPriorityChartInfo creates a new http.Handler for the get blocks priority chart info operation
func (*GetBlocksPriorityChartInfo) ServeHTTP ¶
func (o *GetBlocksPriorityChartInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetBlocksPriorityChartInfoBadRequest ¶
type GetBlocksPriorityChartInfoBadRequest struct { }
GetBlocksPriorityChartInfoBadRequest Bad request
swagger:response getBlocksPriorityChartInfoBadRequest
func NewGetBlocksPriorityChartInfoBadRequest ¶
func NewGetBlocksPriorityChartInfoBadRequest() *GetBlocksPriorityChartInfoBadRequest
NewGetBlocksPriorityChartInfoBadRequest creates GetBlocksPriorityChartInfoBadRequest with default headers values
func (*GetBlocksPriorityChartInfoBadRequest) WriteResponse ¶
func (o *GetBlocksPriorityChartInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBlocksPriorityChartInfoHandler ¶
type GetBlocksPriorityChartInfoHandler interface {
Handle(GetBlocksPriorityChartInfoParams) middleware.Responder
}
GetBlocksPriorityChartInfoHandler interface for that can handle valid get blocks priority chart info params
type GetBlocksPriorityChartInfoHandlerFunc ¶
type GetBlocksPriorityChartInfoHandlerFunc func(GetBlocksPriorityChartInfoParams) middleware.Responder
GetBlocksPriorityChartInfoHandlerFunc turns a function with the right signature into a get blocks priority chart info handler
func (GetBlocksPriorityChartInfoHandlerFunc) Handle ¶
func (fn GetBlocksPriorityChartInfoHandlerFunc) Handle(params GetBlocksPriorityChartInfoParams) middleware.Responder
Handle executing the request and returning a response
type GetBlocksPriorityChartInfoInternalServerError ¶
type GetBlocksPriorityChartInfoInternalServerError struct { }
GetBlocksPriorityChartInfoInternalServerError Internal error
swagger:response getBlocksPriorityChartInfoInternalServerError
func NewGetBlocksPriorityChartInfoInternalServerError ¶
func NewGetBlocksPriorityChartInfoInternalServerError() *GetBlocksPriorityChartInfoInternalServerError
NewGetBlocksPriorityChartInfoInternalServerError creates GetBlocksPriorityChartInfoInternalServerError with default headers values
func (*GetBlocksPriorityChartInfoInternalServerError) WriteResponse ¶
func (o *GetBlocksPriorityChartInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBlocksPriorityChartInfoOK ¶
type GetBlocksPriorityChartInfoOK struct { /* In: Body */ Payload []*models.BlockPriorityChartData `json:"body,omitempty"` }
GetBlocksPriorityChartInfoOK Application info endpoint
swagger:response getBlocksPriorityChartInfoOK
func NewGetBlocksPriorityChartInfoOK ¶
func NewGetBlocksPriorityChartInfoOK() *GetBlocksPriorityChartInfoOK
NewGetBlocksPriorityChartInfoOK creates GetBlocksPriorityChartInfoOK with default headers values
func (*GetBlocksPriorityChartInfoOK) SetPayload ¶
func (o *GetBlocksPriorityChartInfoOK) SetPayload(payload []*models.BlockPriorityChartData)
SetPayload sets the payload to the get blocks priority chart info o k response
func (*GetBlocksPriorityChartInfoOK) WithPayload ¶
func (o *GetBlocksPriorityChartInfoOK) WithPayload(payload []*models.BlockPriorityChartData) *GetBlocksPriorityChartInfoOK
WithPayload adds the payload to the get blocks priority chart info o k response
func (*GetBlocksPriorityChartInfoOK) WriteResponse ¶
func (o *GetBlocksPriorityChartInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetBlocksPriorityChartInfoParams ¶
type GetBlocksPriorityChartInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query Default: 10 */ Limit *int64 /*Not used Required: true In: path */ Network string /*Not used Required: true In: path */ Platform string }
GetBlocksPriorityChartInfoParams contains all the bound params for the get blocks priority chart info operation typically these are obtained from a http.Request
swagger:parameters getBlocksPriorityChartInfo
func NewGetBlocksPriorityChartInfoParams ¶
func NewGetBlocksPriorityChartInfoParams() GetBlocksPriorityChartInfoParams
NewGetBlocksPriorityChartInfoParams creates a new GetBlocksPriorityChartInfoParams object with the default values initialized.
func (*GetBlocksPriorityChartInfoParams) BindRequest ¶
func (o *GetBlocksPriorityChartInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetBlocksPriorityChartInfoParams() beforehand.
type GetBlocksPriorityChartInfoURL ¶
type GetBlocksPriorityChartInfoURL struct { Network string Platform string Limit *int64 // contains filtered or unexported fields }
GetBlocksPriorityChartInfoURL generates an URL for the get blocks priority chart info operation
func (*GetBlocksPriorityChartInfoURL) Build ¶
func (o *GetBlocksPriorityChartInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetBlocksPriorityChartInfoURL) BuildFull ¶
func (o *GetBlocksPriorityChartInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetBlocksPriorityChartInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetBlocksPriorityChartInfoURL) SetBasePath ¶
func (o *GetBlocksPriorityChartInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetBlocksPriorityChartInfoURL) String ¶
func (o *GetBlocksPriorityChartInfoURL) String() string
String returns the string representation of the path with query string
func (*GetBlocksPriorityChartInfoURL) StringFull ¶
func (o *GetBlocksPriorityChartInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetBlocksPriorityChartInfoURL) WithBasePath ¶
func (o *GetBlocksPriorityChartInfoURL) WithBasePath(bp string) *GetBlocksPriorityChartInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetChartsInfo ¶
type GetChartsInfo struct { Context *middleware.Context Handler GetChartsInfoHandler }
GetChartsInfo swagger:route GET /v2/data/{platform}/{network}/charts App Info getChartsInfo
GetChartsInfo get charts info API
func NewGetChartsInfo ¶
func NewGetChartsInfo(ctx *middleware.Context, handler GetChartsInfoHandler) *GetChartsInfo
NewGetChartsInfo creates a new http.Handler for the get charts info operation
func (*GetChartsInfo) ServeHTTP ¶
func (o *GetChartsInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetChartsInfoBadRequest ¶
type GetChartsInfoBadRequest struct { }
GetChartsInfoBadRequest Bad request
swagger:response getChartsInfoBadRequest
func NewGetChartsInfoBadRequest ¶
func NewGetChartsInfoBadRequest() *GetChartsInfoBadRequest
NewGetChartsInfoBadRequest creates GetChartsInfoBadRequest with default headers values
func (*GetChartsInfoBadRequest) WriteResponse ¶
func (o *GetChartsInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetChartsInfoHandler ¶
type GetChartsInfoHandler interface {
Handle(GetChartsInfoParams) middleware.Responder
}
GetChartsInfoHandler interface for that can handle valid get charts info params
type GetChartsInfoHandlerFunc ¶
type GetChartsInfoHandlerFunc func(GetChartsInfoParams) middleware.Responder
GetChartsInfoHandlerFunc turns a function with the right signature into a get charts info handler
func (GetChartsInfoHandlerFunc) Handle ¶
func (fn GetChartsInfoHandlerFunc) Handle(params GetChartsInfoParams) middleware.Responder
Handle executing the request and returning a response
type GetChartsInfoInternalServerError ¶
type GetChartsInfoInternalServerError struct { }
GetChartsInfoInternalServerError Internal error
swagger:response getChartsInfoInternalServerError
func NewGetChartsInfoInternalServerError ¶
func NewGetChartsInfoInternalServerError() *GetChartsInfoInternalServerError
NewGetChartsInfoInternalServerError creates GetChartsInfoInternalServerError with default headers values
func (*GetChartsInfoInternalServerError) WriteResponse ¶
func (o *GetChartsInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetChartsInfoOK ¶
type GetChartsInfoOK struct { /* In: Body */ Payload []*models.ChartsData `json:"body,omitempty"` }
GetChartsInfoOK Application info endpoint
swagger:response getChartsInfoOK
func NewGetChartsInfoOK ¶
func NewGetChartsInfoOK() *GetChartsInfoOK
NewGetChartsInfoOK creates GetChartsInfoOK with default headers values
func (*GetChartsInfoOK) SetPayload ¶
func (o *GetChartsInfoOK) SetPayload(payload []*models.ChartsData)
SetPayload sets the payload to the get charts info o k response
func (*GetChartsInfoOK) WithPayload ¶
func (o *GetChartsInfoOK) WithPayload(payload []*models.ChartsData) *GetChartsInfoOK
WithPayload adds the payload to the get charts info o k response
func (*GetChartsInfoOK) WriteResponse ¶
func (o *GetChartsInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetChartsInfoParams ¶
type GetChartsInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: query */ Columns []string /* Required: true In: query */ From int64 /*Not used Required: true In: path */ Network string /* Required: true In: query */ Period string /*Not used Required: true In: path */ Platform string /* Required: true In: query */ To int64 }
GetChartsInfoParams contains all the bound params for the get charts info operation typically these are obtained from a http.Request
swagger:parameters getChartsInfo
func NewGetChartsInfoParams ¶
func NewGetChartsInfoParams() GetChartsInfoParams
NewGetChartsInfoParams creates a new GetChartsInfoParams object no default values defined in spec.
func (*GetChartsInfoParams) BindRequest ¶
func (o *GetChartsInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetChartsInfoParams() beforehand.
type GetChartsInfoURL ¶
type GetChartsInfoURL struct { Network string Platform string Columns []string From int64 Period string To int64 // contains filtered or unexported fields }
GetChartsInfoURL generates an URL for the get charts info operation
func (*GetChartsInfoURL) Build ¶
func (o *GetChartsInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetChartsInfoURL) BuildFull ¶
func (o *GetChartsInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetChartsInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetChartsInfoURL) SetBasePath ¶
func (o *GetChartsInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetChartsInfoURL) String ¶
func (o *GetChartsInfoURL) String() string
String returns the string representation of the path with query string
func (*GetChartsInfoURL) StringFull ¶
func (o *GetChartsInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetChartsInfoURL) WithBasePath ¶
func (o *GetChartsInfoURL) WithBasePath(bp string) *GetChartsInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetHealthCheckInfo ¶
type GetHealthCheckInfo struct { Context *middleware.Context Handler GetHealthCheckInfoHandler }
GetHealthCheckInfo swagger:route GET /v2/data/{platform}/{network}/health App Info getHealthCheckInfo
GetHealthCheckInfo get health check info API
func NewGetHealthCheckInfo ¶
func NewGetHealthCheckInfo(ctx *middleware.Context, handler GetHealthCheckInfoHandler) *GetHealthCheckInfo
NewGetHealthCheckInfo creates a new http.Handler for the get health check info operation
func (*GetHealthCheckInfo) ServeHTTP ¶
func (o *GetHealthCheckInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetHealthCheckInfoBadRequest ¶
type GetHealthCheckInfoBadRequest struct { }
GetHealthCheckInfoBadRequest Bad request
swagger:response getHealthCheckInfoBadRequest
func NewGetHealthCheckInfoBadRequest ¶
func NewGetHealthCheckInfoBadRequest() *GetHealthCheckInfoBadRequest
NewGetHealthCheckInfoBadRequest creates GetHealthCheckInfoBadRequest with default headers values
func (*GetHealthCheckInfoBadRequest) WriteResponse ¶
func (o *GetHealthCheckInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHealthCheckInfoHandler ¶
type GetHealthCheckInfoHandler interface {
Handle(GetHealthCheckInfoParams) middleware.Responder
}
GetHealthCheckInfoHandler interface for that can handle valid get health check info params
type GetHealthCheckInfoHandlerFunc ¶
type GetHealthCheckInfoHandlerFunc func(GetHealthCheckInfoParams) middleware.Responder
GetHealthCheckInfoHandlerFunc turns a function with the right signature into a get health check info handler
func (GetHealthCheckInfoHandlerFunc) Handle ¶
func (fn GetHealthCheckInfoHandlerFunc) Handle(params GetHealthCheckInfoParams) middleware.Responder
Handle executing the request and returning a response
type GetHealthCheckInfoInternalServerError ¶
type GetHealthCheckInfoInternalServerError struct { }
GetHealthCheckInfoInternalServerError Internal error
swagger:response getHealthCheckInfoInternalServerError
func NewGetHealthCheckInfoInternalServerError ¶
func NewGetHealthCheckInfoInternalServerError() *GetHealthCheckInfoInternalServerError
NewGetHealthCheckInfoInternalServerError creates GetHealthCheckInfoInternalServerError with default headers values
func (*GetHealthCheckInfoInternalServerError) WriteResponse ¶
func (o *GetHealthCheckInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHealthCheckInfoOK ¶
GetHealthCheckInfoOK Application health info endpoint
swagger:response getHealthCheckInfoOK
func NewGetHealthCheckInfoOK ¶
func NewGetHealthCheckInfoOK() *GetHealthCheckInfoOK
NewGetHealthCheckInfoOK creates GetHealthCheckInfoOK with default headers values
func (*GetHealthCheckInfoOK) SetPayload ¶
func (o *GetHealthCheckInfoOK) SetPayload(payload *models.Health)
SetPayload sets the payload to the get health check info o k response
func (*GetHealthCheckInfoOK) WithPayload ¶
func (o *GetHealthCheckInfoOK) WithPayload(payload *models.Health) *GetHealthCheckInfoOK
WithPayload adds the payload to the get health check info o k response
func (*GetHealthCheckInfoOK) WriteResponse ¶
func (o *GetHealthCheckInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetHealthCheckInfoParams ¶
type GetHealthCheckInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Not used Required: true In: path */ Network string /*Not used Required: true In: path */ Platform string }
GetHealthCheckInfoParams contains all the bound params for the get health check info operation typically these are obtained from a http.Request
swagger:parameters getHealthCheckInfo
func NewGetHealthCheckInfoParams ¶
func NewGetHealthCheckInfoParams() GetHealthCheckInfoParams
NewGetHealthCheckInfoParams creates a new GetHealthCheckInfoParams object no default values defined in spec.
func (*GetHealthCheckInfoParams) BindRequest ¶
func (o *GetHealthCheckInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetHealthCheckInfoParams() beforehand.
type GetHealthCheckInfoURL ¶
type GetHealthCheckInfoURL struct { Network string Platform string // contains filtered or unexported fields }
GetHealthCheckInfoURL generates an URL for the get health check info operation
func (*GetHealthCheckInfoURL) Build ¶
func (o *GetHealthCheckInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetHealthCheckInfoURL) BuildFull ¶
func (o *GetHealthCheckInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetHealthCheckInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetHealthCheckInfoURL) SetBasePath ¶
func (o *GetHealthCheckInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetHealthCheckInfoURL) String ¶
func (o *GetHealthCheckInfoURL) String() string
String returns the string representation of the path with query string
func (*GetHealthCheckInfoURL) StringFull ¶
func (o *GetHealthCheckInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetHealthCheckInfoURL) WithBasePath ¶
func (o *GetHealthCheckInfoURL) WithBasePath(bp string) *GetHealthCheckInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetInfo ¶
type GetInfo struct { Context *middleware.Context Handler GetInfoHandler }
GetInfo swagger:route GET /v2/data/{platform}/{network}/info App Info getInfo
GetInfo get info API
func NewGetInfo ¶
func NewGetInfo(ctx *middleware.Context, handler GetInfoHandler) *GetInfo
NewGetInfo creates a new http.Handler for the get info operation
type GetInfoBadRequest ¶
type GetInfoBadRequest struct { }
GetInfoBadRequest Bad request
swagger:response getInfoBadRequest
func NewGetInfoBadRequest ¶
func NewGetInfoBadRequest() *GetInfoBadRequest
NewGetInfoBadRequest creates GetInfoBadRequest with default headers values
func (*GetInfoBadRequest) WriteResponse ¶
func (o *GetInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetInfoHandler ¶
type GetInfoHandler interface {
Handle(GetInfoParams) middleware.Responder
}
GetInfoHandler interface for that can handle valid get info params
type GetInfoHandlerFunc ¶
type GetInfoHandlerFunc func(GetInfoParams) middleware.Responder
GetInfoHandlerFunc turns a function with the right signature into a get info handler
func (GetInfoHandlerFunc) Handle ¶
func (fn GetInfoHandlerFunc) Handle(params GetInfoParams) middleware.Responder
Handle executing the request and returning a response
type GetInfoInternalServerError ¶
type GetInfoInternalServerError struct { }
GetInfoInternalServerError Internal error
swagger:response getInfoInternalServerError
func NewGetInfoInternalServerError ¶
func NewGetInfoInternalServerError() *GetInfoInternalServerError
NewGetInfoInternalServerError creates GetInfoInternalServerError with default headers values
func (*GetInfoInternalServerError) WriteResponse ¶
func (o *GetInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetInfoOK ¶
GetInfoOK Application info endpoint
swagger:response getInfoOK
func NewGetInfoOK ¶
func NewGetInfoOK() *GetInfoOK
NewGetInfoOK creates GetInfoOK with default headers values
func (*GetInfoOK) SetPayload ¶
SetPayload sets the payload to the get info o k response
func (*GetInfoOK) WithPayload ¶
WithPayload adds the payload to the get info o k response
func (*GetInfoOK) WriteResponse ¶
func (o *GetInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetInfoParams ¶
type GetInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query Default: "usd" */ Currency *string /*Not used Required: true In: path */ Network string /*Not used Required: true In: path */ Platform string }
GetInfoParams contains all the bound params for the get info operation typically these are obtained from a http.Request
swagger:parameters getInfo
func NewGetInfoParams ¶
func NewGetInfoParams() GetInfoParams
NewGetInfoParams creates a new GetInfoParams object with the default values initialized.
func (*GetInfoParams) BindRequest ¶
func (o *GetInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetInfoParams() beforehand.
type GetInfoURL ¶
type GetInfoURL struct { Network string Platform string Currency *string // contains filtered or unexported fields }
GetInfoURL generates an URL for the get info operation
func (*GetInfoURL) Build ¶
func (o *GetInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetInfoURL) BuildFull ¶
func (o *GetInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetInfoURL) SetBasePath ¶
func (o *GetInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetInfoURL) String ¶
func (o *GetInfoURL) String() string
String returns the string representation of the path with query string
func (*GetInfoURL) StringFull ¶
func (o *GetInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetInfoURL) WithBasePath ¶
func (o *GetInfoURL) WithBasePath(bp string) *GetInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetThirdPartyBakersHandler ¶
type GetThirdPartyBakersHandler struct { Context *middleware.Context Handler GetThirdPartyBakersHandlerHandler }
GetThirdPartyBakersHandler swagger:route GET /v2/data/thirdparty/bakers App Info getThirdPartyBakersHandler
GetThirdPartyBakersHandler get third party bakers handler API
func NewGetThirdPartyBakersHandler ¶
func NewGetThirdPartyBakersHandler(ctx *middleware.Context, handler GetThirdPartyBakersHandlerHandler) *GetThirdPartyBakersHandler
NewGetThirdPartyBakersHandler creates a new http.Handler for the get third party bakers handler operation
func (*GetThirdPartyBakersHandler) ServeHTTP ¶
func (o *GetThirdPartyBakersHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetThirdPartyBakersHandlerBadRequest ¶
type GetThirdPartyBakersHandlerBadRequest struct { }
GetThirdPartyBakersHandlerBadRequest Bad request
swagger:response getThirdPartyBakersHandlerBadRequest
func NewGetThirdPartyBakersHandlerBadRequest ¶
func NewGetThirdPartyBakersHandlerBadRequest() *GetThirdPartyBakersHandlerBadRequest
NewGetThirdPartyBakersHandlerBadRequest creates GetThirdPartyBakersHandlerBadRequest with default headers values
func (*GetThirdPartyBakersHandlerBadRequest) WriteResponse ¶
func (o *GetThirdPartyBakersHandlerBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetThirdPartyBakersHandlerHandler ¶
type GetThirdPartyBakersHandlerHandler interface {
Handle(GetThirdPartyBakersHandlerParams) middleware.Responder
}
GetThirdPartyBakersHandlerHandler interface for that can handle valid get third party bakers handler params
type GetThirdPartyBakersHandlerHandlerFunc ¶
type GetThirdPartyBakersHandlerHandlerFunc func(GetThirdPartyBakersHandlerParams) middleware.Responder
GetThirdPartyBakersHandlerHandlerFunc turns a function with the right signature into a get third party bakers handler handler
func (GetThirdPartyBakersHandlerHandlerFunc) Handle ¶
func (fn GetThirdPartyBakersHandlerHandlerFunc) Handle(params GetThirdPartyBakersHandlerParams) middleware.Responder
Handle executing the request and returning a response
type GetThirdPartyBakersHandlerInternalServerError ¶
type GetThirdPartyBakersHandlerInternalServerError struct { }
GetThirdPartyBakersHandlerInternalServerError Internal error
swagger:response getThirdPartyBakersHandlerInternalServerError
func NewGetThirdPartyBakersHandlerInternalServerError ¶
func NewGetThirdPartyBakersHandlerInternalServerError() *GetThirdPartyBakersHandlerInternalServerError
NewGetThirdPartyBakersHandlerInternalServerError creates GetThirdPartyBakersHandlerInternalServerError with default headers values
func (*GetThirdPartyBakersHandlerInternalServerError) WriteResponse ¶
func (o *GetThirdPartyBakersHandlerInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetThirdPartyBakersHandlerOK ¶
type GetThirdPartyBakersHandlerOK struct { /* In: Body */ Payload []*models.ThirdPartyBakers `json:"body,omitempty"` }
GetThirdPartyBakersHandlerOK Application info endpoint
swagger:response getThirdPartyBakersHandlerOK
func NewGetThirdPartyBakersHandlerOK ¶
func NewGetThirdPartyBakersHandlerOK() *GetThirdPartyBakersHandlerOK
NewGetThirdPartyBakersHandlerOK creates GetThirdPartyBakersHandlerOK with default headers values
func (*GetThirdPartyBakersHandlerOK) SetPayload ¶
func (o *GetThirdPartyBakersHandlerOK) SetPayload(payload []*models.ThirdPartyBakers)
SetPayload sets the payload to the get third party bakers handler o k response
func (*GetThirdPartyBakersHandlerOK) WithPayload ¶
func (o *GetThirdPartyBakersHandlerOK) WithPayload(payload []*models.ThirdPartyBakers) *GetThirdPartyBakersHandlerOK
WithPayload adds the payload to the get third party bakers handler o k response
func (*GetThirdPartyBakersHandlerOK) WriteResponse ¶
func (o *GetThirdPartyBakersHandlerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetThirdPartyBakersHandlerParams ¶
type GetThirdPartyBakersHandlerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetThirdPartyBakersHandlerParams contains all the bound params for the get third party bakers handler operation typically these are obtained from a http.Request
swagger:parameters getThirdPartyBakersHandler
func NewGetThirdPartyBakersHandlerParams ¶
func NewGetThirdPartyBakersHandlerParams() GetThirdPartyBakersHandlerParams
NewGetThirdPartyBakersHandlerParams creates a new GetThirdPartyBakersHandlerParams object no default values defined in spec.
func (*GetThirdPartyBakersHandlerParams) BindRequest ¶
func (o *GetThirdPartyBakersHandlerParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetThirdPartyBakersHandlerParams() beforehand.
type GetThirdPartyBakersHandlerURL ¶
type GetThirdPartyBakersHandlerURL struct {
// contains filtered or unexported fields
}
GetThirdPartyBakersHandlerURL generates an URL for the get third party bakers handler operation
func (*GetThirdPartyBakersHandlerURL) Build ¶
func (o *GetThirdPartyBakersHandlerURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetThirdPartyBakersHandlerURL) BuildFull ¶
func (o *GetThirdPartyBakersHandlerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetThirdPartyBakersHandlerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetThirdPartyBakersHandlerURL) SetBasePath ¶
func (o *GetThirdPartyBakersHandlerURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetThirdPartyBakersHandlerURL) String ¶
func (o *GetThirdPartyBakersHandlerURL) String() string
String returns the string representation of the path with query string
func (*GetThirdPartyBakersHandlerURL) StringFull ¶
func (o *GetThirdPartyBakersHandlerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetThirdPartyBakersHandlerURL) WithBasePath ¶
func (o *GetThirdPartyBakersHandlerURL) WithBasePath(bp string) *GetThirdPartyBakersHandlerURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_baker_chart_info.go
- get_baker_chart_info_parameters.go
- get_baker_chart_info_responses.go
- get_baker_chart_info_urlbuilder.go
- get_blocks_priority_chart_info.go
- get_blocks_priority_chart_info_parameters.go
- get_blocks_priority_chart_info_responses.go
- get_blocks_priority_chart_info_urlbuilder.go
- get_charts_info.go
- get_charts_info_parameters.go
- get_charts_info_responses.go
- get_charts_info_urlbuilder.go
- get_health_check_info.go
- get_health_check_info_parameters.go
- get_health_check_info_responses.go
- get_health_check_info_urlbuilder.go
- get_info.go
- get_info_parameters.go
- get_info_responses.go
- get_info_urlbuilder.go
- get_third_party_bakers_handler.go
- get_third_party_bakers_handler_parameters.go
- get_third_party_bakers_handler_responses.go
- get_third_party_bakers_handler_urlbuilder.go