idempotency

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecoveryPoint

type RecoveryPoint string
const (
	RecoveryPointStarted  RecoveryPoint = "STARTED"
	RecoveryPointCreated  RecoveryPoint = "CREATED"
	RecoveryPointCharged  RecoveryPoint = "CHARGED"
	RecoveryPointFinished RecoveryPoint = "FINISHED"
)

func (RecoveryPoint) String

func (r RecoveryPoint) String() string

type ResponseBody

type ResponseBody struct {
	Message string `json:"message"`
}

func (*ResponseBody) Marshal

func (r *ResponseBody) Marshal() (json.RawMessage, error)

type ResponseCode

type ResponseCode int32
const (
	ResponseCodeOK                ResponseCode = http.StatusOK
	ResponseCodeConflict          ResponseCode = http.StatusConflict
	ResponseCodeErrPayment        ResponseCode = http.StatusPaymentRequired
	ResponseCodeErrPaymentGeneric ResponseCode = http.StatusServiceUnavailable
)

Jump to

Keyboard shortcuts

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