process

package
v0.0.0-...-15b0c83 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntsGoroutineProcess

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

func NewAntsGoroutineProcess

func NewAntsGoroutineProcess(poolSize int, maxBlockingTasks int) *AntsGoroutineProcess

func (AntsGoroutineProcess) MustStart

func (s AntsGoroutineProcess) MustStart()

func (AntsGoroutineProcess) Stop

func (s AntsGoroutineProcess) Stop()

type AntsMnsGoroutineProcess

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

func NewAntsMnsGoroutineProcess

func NewAntsMnsGoroutineProcess() *AntsMnsGoroutineProcess

func (*AntsMnsGoroutineProcess) MustStart

func (s *AntsMnsGoroutineProcess) MustStart()

func (*AntsMnsGoroutineProcess) Stop

func (s *AntsMnsGoroutineProcess) Stop()

type HttpServer

type HttpServer struct {
	*http.Server
	EventBus event.Bus
}

func NewHttpServerProcess

func NewHttpServerProcess(server *http.Server, eventBus event.Bus) *HttpServer

func (*HttpServer) MustStart

func (s *HttpServer) MustStart()

func (*HttpServer) Stop

func (s *HttpServer) Stop()

type Processer

type Processer interface {
	MustStart()
	Stop()
}

Jump to

Keyboard shortcuts

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