cat

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *options)

type Server

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

func NewServer

func NewServer(opts ...Option) *Server

func (*Server) Destroy

func (s *Server) Destroy()

Destroy 销毁组件

func (*Server) Enable

func (s *Server) Enable() bool

Enable 获取是否开启

func (*Server) Init

func (s *Server) Init()

Init 初始化组件

func (*Server) Name

func (s *Server) Name() string

Name 组件名称

func (*Server) Start

func (s *Server) Start()

Start 启动组件

Jump to

Keyboard shortcuts

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