response

package
v0.0.0-...-d4ea93b Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResponseBadRequest

func ResponseBadRequest() interface{}

func ResponseDependencyError

func ResponseDependencyError() interface{}

func ResponseDependencyOk

func ResponseDependencyOk() interface{}

func ResponseExceedsBalance

func ResponseExceedsBalance() interface{}

func ResponseInternalError

func ResponseInternalError() interface{}

func ResponsePKConvertError

func ResponsePKConvertError() interface{}

func ResponseServerOk

func ResponseServerOk() interface{}

func ResponseUnauthorized

func ResponseUnauthorized() interface{}

Types

type ErrorResponse

type ErrorResponse struct {
	Code    int
	Message string
}

type ErrorResponseWithReason

type ErrorResponseWithReason struct {
	Code    int
	Message string
	Reason  string
}

type GeneralResponse

type GeneralResponse struct {
	Code    int
	Message string
}

Jump to

Keyboard shortcuts

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