server

package
v0.0.0-...-230e7c6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ServerName = "Lite-Server/1.1"

ServerName 服务器标识

Variables

View Source
var IsTerminated = false

IsTerminated 是否已接收到退出信号

Functions

func AboutMe

func AboutMe() string

AboutMe 关于

func GetServerSerial

func GetServerSerial() string

GetServerSerial 获取服务器标识

func GetValue

func GetValue(name string) string

GetValue 获取配置

func Index

func Index(w http.ResponseWriter, r *http.Request)

Index 默认页

func Now

func Now(w http.ResponseWriter, r *http.Request)

Now 服务器时间

func SetValue

func SetValue(name string, value string)

SetValue 设置配置

func Start

func Start()

Start 初始化

Types

This section is empty.

Jump to

Keyboard shortcuts

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