Documentation ¶
Index ¶
- Constants
- type GetMempoolOperations
- type GetMempoolOperationsBadRequest
- type GetMempoolOperationsHandler
- type GetMempoolOperationsHandlerFunc
- type GetMempoolOperationsInternalServerError
- type GetMempoolOperationsNotFound
- type GetMempoolOperationsOK
- type GetMempoolOperationsParams
- type GetMempoolOperationsURL
- func (o *GetMempoolOperationsURL) Build() (*url.URL, error)
- func (o *GetMempoolOperationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetMempoolOperationsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetMempoolOperationsURL) SetBasePath(bp string)
- func (o *GetMempoolOperationsURL) String() string
- func (o *GetMempoolOperationsURL) StringFull(scheme, host string) string
- func (o *GetMempoolOperationsURL) WithBasePath(bp string) *GetMempoolOperationsURL
Constants ¶
const GetMempoolOperationsBadRequestCode int = 400
GetMempoolOperationsBadRequestCode is the HTTP code returned for type GetMempoolOperationsBadRequest
const GetMempoolOperationsInternalServerErrorCode int = 500
GetMempoolOperationsInternalServerErrorCode is the HTTP code returned for type GetMempoolOperationsInternalServerError
const GetMempoolOperationsNotFoundCode int = 404
GetMempoolOperationsNotFoundCode is the HTTP code returned for type GetMempoolOperationsNotFound
const GetMempoolOperationsOKCode int = 200
GetMempoolOperationsOKCode is the HTTP code returned for type GetMempoolOperationsOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetMempoolOperations ¶
type GetMempoolOperations struct { Context *middleware.Context Handler GetMempoolOperationsHandler }
GetMempoolOperations swagger:route GET /v2/data/{platform}/{network}/mempool Mempool getMempoolOperations
GetMempoolOperations get mempool operations API
func NewGetMempoolOperations ¶
func NewGetMempoolOperations(ctx *middleware.Context, handler GetMempoolOperationsHandler) *GetMempoolOperations
NewGetMempoolOperations creates a new http.Handler for the get mempool operations operation
func (*GetMempoolOperations) ServeHTTP ¶
func (o *GetMempoolOperations) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetMempoolOperationsBadRequest ¶
type GetMempoolOperationsBadRequest struct { }
GetMempoolOperationsBadRequest Bad request
swagger:response getMempoolOperationsBadRequest
func NewGetMempoolOperationsBadRequest ¶
func NewGetMempoolOperationsBadRequest() *GetMempoolOperationsBadRequest
NewGetMempoolOperationsBadRequest creates GetMempoolOperationsBadRequest with default headers values
func (*GetMempoolOperationsBadRequest) WriteResponse ¶
func (o *GetMempoolOperationsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMempoolOperationsHandler ¶
type GetMempoolOperationsHandler interface {
Handle(GetMempoolOperationsParams) middleware.Responder
}
GetMempoolOperationsHandler interface for that can handle valid get mempool operations params
type GetMempoolOperationsHandlerFunc ¶
type GetMempoolOperationsHandlerFunc func(GetMempoolOperationsParams) middleware.Responder
GetMempoolOperationsHandlerFunc turns a function with the right signature into a get mempool operations handler
func (GetMempoolOperationsHandlerFunc) Handle ¶
func (fn GetMempoolOperationsHandlerFunc) Handle(params GetMempoolOperationsParams) middleware.Responder
Handle executing the request and returning a response
type GetMempoolOperationsInternalServerError ¶
type GetMempoolOperationsInternalServerError struct { }
GetMempoolOperationsInternalServerError Internal error
swagger:response getMempoolOperationsInternalServerError
func NewGetMempoolOperationsInternalServerError ¶
func NewGetMempoolOperationsInternalServerError() *GetMempoolOperationsInternalServerError
NewGetMempoolOperationsInternalServerError creates GetMempoolOperationsInternalServerError with default headers values
func (*GetMempoolOperationsInternalServerError) WriteResponse ¶
func (o *GetMempoolOperationsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMempoolOperationsNotFound ¶
type GetMempoolOperationsNotFound struct { }
GetMempoolOperationsNotFound Not Found
swagger:response getMempoolOperationsNotFound
func NewGetMempoolOperationsNotFound ¶
func NewGetMempoolOperationsNotFound() *GetMempoolOperationsNotFound
NewGetMempoolOperationsNotFound creates GetMempoolOperationsNotFound with default headers values
func (*GetMempoolOperationsNotFound) WriteResponse ¶
func (o *GetMempoolOperationsNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMempoolOperationsOK ¶
type GetMempoolOperationsOK struct { /* In: Body */ Payload []*models.MempoolOperation `json:"body,omitempty"` }
GetMempoolOperationsOK Query compatibility endpoint for mempool operations
swagger:response getMempoolOperationsOK
func NewGetMempoolOperationsOK ¶
func NewGetMempoolOperationsOK() *GetMempoolOperationsOK
NewGetMempoolOperationsOK creates GetMempoolOperationsOK with default headers values
func (*GetMempoolOperationsOK) SetPayload ¶
func (o *GetMempoolOperationsOK) SetPayload(payload []*models.MempoolOperation)
SetPayload sets the payload to the get mempool operations o k response
func (*GetMempoolOperationsOK) WithPayload ¶
func (o *GetMempoolOperationsOK) WithPayload(payload []*models.MempoolOperation) *GetMempoolOperationsOK
WithPayload adds the payload to the get mempool operations o k response
func (*GetMempoolOperationsOK) WriteResponse ¶
func (o *GetMempoolOperationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetMempoolOperationsParams ¶
type GetMempoolOperationsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Network string /* Required: true In: path */ Platform string }
GetMempoolOperationsParams contains all the bound params for the get mempool operations operation typically these are obtained from a http.Request
swagger:parameters getMempoolOperations
func NewGetMempoolOperationsParams ¶
func NewGetMempoolOperationsParams() GetMempoolOperationsParams
NewGetMempoolOperationsParams creates a new GetMempoolOperationsParams object no default values defined in spec.
func (*GetMempoolOperationsParams) BindRequest ¶
func (o *GetMempoolOperationsParams) 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 NewGetMempoolOperationsParams() beforehand.
type GetMempoolOperationsURL ¶
type GetMempoolOperationsURL struct { Network string Platform string // contains filtered or unexported fields }
GetMempoolOperationsURL generates an URL for the get mempool operations operation
func (*GetMempoolOperationsURL) Build ¶
func (o *GetMempoolOperationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetMempoolOperationsURL) BuildFull ¶
func (o *GetMempoolOperationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetMempoolOperationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetMempoolOperationsURL) SetBasePath ¶
func (o *GetMempoolOperationsURL) 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 (*GetMempoolOperationsURL) String ¶
func (o *GetMempoolOperationsURL) String() string
String returns the string representation of the path with query string
func (*GetMempoolOperationsURL) StringFull ¶
func (o *GetMempoolOperationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetMempoolOperationsURL) WithBasePath ¶
func (o *GetMempoolOperationsURL) WithBasePath(bp string) *GetMempoolOperationsURL
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