server

package
v0.0.0-...-16e46fc Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SUCCESS = 0
	FAIL    = 1
)
View Source
const (
	TimeFormat = "2006-01-02 15:04:05"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(cfg *config.DB, log *xlog.XLog) *Handler

func (*Handler) Error

func (h *Handler) Error(c *gin.Context, req string, path string, err string)

func (*Handler) Income

func (h *Handler) Income(ctx *gin.Context)

func (*Handler) Monitor

func (h *Handler) Monitor(ctx *gin.Context)

func (*Handler) Pay

func (h *Handler) Pay(ctx *gin.Context)

func (*Handler) QueryTxs

func (h *Handler) QueryTxs(ctx *gin.Context)

func (*Handler) Success

func (h *Handler) Success(c *gin.Context, req string, resp interface{}, path string)

Jump to

Keyboard shortcuts

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