server

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterApiHandleFunc

func RegisterApiHandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request), additionalUsages ...string)

Types

type ApiServerFunc

type ApiServerFunc struct {
	F          func(http.ResponseWriter, *http.Request)
	MoreUsages []string
}

type HttpServerComponent

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

func NewHttpServerComponent

func NewHttpServerComponent() *HttpServerComponent

func (*HttpServerComponent) Start

func (h *HttpServerComponent) Start()

func (*HttpServerComponent) Stop

func (h *HttpServerComponent) Stop()

Jump to

Keyboard shortcuts

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