server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const MetadataCacheExpirationSeconds = 180

Variables

This section is empty.

Functions

func StartService

func StartService(confFile *conf.ConfigFile, version string)

StartService to start predator service

Types

type HTTPService

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

HTTPService is predator as http service

func (*HTTPService) Shutdown

func (s *HTTPService) Shutdown()

Shutdown listen to exit signal and shutdown service

func (*HTTPService) Start

func (s *HTTPService) Start() <-chan bool

Start to start http service

Jump to

Keyboard shortcuts

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