billing

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server billing 服务

func NewServer

func NewServer() (*Server, error)

NewServer 创建一个Server对象

func (*Server) Run

func (s *Server) Run(logFilePath string) error

Run 运行billing

func (*Server) Running

func (s *Server) Running() bool

Running 判断是否为运行中,当调用stop停止服务时,此值为false

func (*Server) ShowUsers

func (s *Server) ShowUsers() error

ShowUsers 通知服务器显示用户列表

func (*Server) Stop

func (s *Server) Stop() error

Stop 发送停止命令到server

Jump to

Keyboard shortcuts

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