core

package module
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwaitStartFinish added in v0.4.0

func AwaitStartFinish(funs ...func())

等待所有服务启动完成

func Register

func Register(s Server)

func Registers

func Registers(sers []Server)

func Start

func Start()

Types

type Server

type Server interface {
	Start(wg *sync.WaitGroup)
}

Jump to

Keyboard shortcuts

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