web

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: AGPL-3.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(addr string, port int) error

func StaticAssets

func StaticAssets() fs.FS

Types

type ApiResult

type ApiResult struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
	Data any    `json:"data"`
}

type SigningErrorData added in v0.6.0

type SigningErrorData struct {
	Code     string          `json:"code"`
	Class    signing.Class   `json:"class"`
	Issues   []signing.Issue `json:"issues,omitempty"`
	AppCount int64           `json:"app_count,omitempty"`
}

SigningErrorData is the data payload of a failed external signing request. Code is a stable signing code the frontend translates; Msg of the wrapping ApiResult keeps the English diagnostic.

Jump to

Keyboard shortcuts

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