controller

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 45 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

为 v1 版本提供兼容接口

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeWeb

func ServeWeb(port uint) *http.Server

Types

type BatchUpdateServerGroupRequest

type BatchUpdateServerGroupRequest struct {
	Servers []uint64
	Group   string
}

type Data

type Data struct {
	Now     int64           `json:"now,omitempty"`
	Servers []*model.Server `json:"servers,omitempty"`
}

type TokenForm

type TokenForm struct {
	Note string
}

type V1Response

type V1Response[T any] struct {
	Success bool   `json:"success,omitempty"`
	Data    T      `json:"data,omitempty"`
	Error   string `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

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