app

package
v0.0.0-...-e9f5796 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XUserID    = "id"
	XUserToken = "token"
)

Variables

This section is empty.

Functions

func Entrypoint

func Entrypoint(cmd *cobra.Command, args []string)

func InitBootSystem

func InitBootSystem(ctx context.Context)

func InitLog

func InitLog()

func Release

func Release()

func SetRoute

func SetRoute(router *fiber.App)

Types

type WsReq

type WsReq struct {
	Kind types.Kind `json:"kind" validate:"required"`
	Reqs []byte     `json:"reqs" validate:"required"`
}

type WsRsp

type WsRsp struct {
	Kind types.Kind `json:"kind"`
	Code uint64     `json:"code"`
	Mesg string     `json:"mesg"`
	Rsp  []byte     `json:"rsp"`
}

Jump to

Keyboard shortcuts

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