service

package
v0.0.0-...-0234a01 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CleanUpServer

func CleanUpServer()

func InitServer

func InitServer()

func StartTaskServer

func StartTaskServer()

Types

type TestingPollItem

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

func (*TestingPollItem) Count

func (tpi *TestingPollItem) Count() int

func (*TestingPollItem) ID

func (tpi *TestingPollItem) ID() string

func (*TestingPollItem) Init

func (*TestingPollItem) OnExit

func (tpi *TestingPollItem) OnExit(exitCode taskpoll.TaskPollExitCode)

func (*TestingPollItem) TaskName

func (tpi *TestingPollItem) TaskName() string

func (*TestingPollItem) Weight

func (tpi *TestingPollItem) Weight() uint

func (*TestingPollItem) Yield

func (tpi *TestingPollItem) Yield(idx int, tpc *taskpoll.TaskPollController)

type WsHandler

type WsHandler struct {
	Serve func(http.ResponseWriter, *http.Request)
}

func (*WsHandler) ServeHTTP

func (wh *WsHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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