server

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.3.0

type Server struct {
	Done chan error
	Host string
	// contains filtered or unexported fields
}

Server is a http server sending and receiving data of the app

func (*Server) Start added in v0.3.0

func (s *Server) Start(state *labels.Labels, quitSig chan struct{}) error

Start creates a http server listener

func (*Server) Stop added in v0.3.0

func (s *Server) Stop()

Stop will stop the running server

Jump to

Keyboard shortcuts

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