nodes

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminNode

type AdminNode struct {
	// contains filtered or unexported fields
}
var SharedAdminNode *AdminNode = nil

func NewAdminNode

func NewAdminNode() *AdminNode

func (*AdminNode) AddSubPID

func (this *AdminNode) AddSubPID(pid int)

AddSubPID 添加子PID

func (*AdminNode) Daemon

func (this *AdminNode) Daemon()

Daemon 实现守护进程

func (*AdminNode) InstallSystemService

func (this *AdminNode) InstallSystemService() error

InstallSystemService 安装系统服务

func (*AdminNode) Run

func (this *AdminNode) Run()

type SessionManager added in v0.6.4

type SessionManager struct {
	// contains filtered or unexported fields
}

SessionManager SESSION管理

func NewSessionManager added in v0.6.4

func NewSessionManager() (*SessionManager, error)

func (*SessionManager) Delete added in v0.6.4

func (this *SessionManager) Delete(sid string) bool

func (*SessionManager) Init added in v0.6.4

func (this *SessionManager) Init(config *actions.SessionConfig)

func (*SessionManager) Read added in v0.6.4

func (this *SessionManager) Read(sid string) map[string]string

func (*SessionManager) WriteItem added in v0.6.4

func (this *SessionManager) WriteItem(sid string, key string, value string) bool

Jump to

Keyboard shortcuts

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