controllers

package
v1.1.0-20220312 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Daemon = daemon{
	Mark: fmt.Sprint(time.Now().UnixNano()),
	Path: global.Config.Settings.Daemon.Path,
}

Daemon 后台模式控制包

Functions

func EnterGuardian

func EnterGuardian()

EnterGuardian 守护模式入口,控制是否进入daemon

func Guardian

func Guardian(output bool)

Guardian 守护模式逻辑

func Login

func Login(output bool, skipCheck bool, localAddr net.Addr) error

Login 登录逻辑

Types

This section is empty.

Jump to

Keyboard shortcuts

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