volatility

package
v0.0.0-...-cc17c53 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "volatility"

Variables

This section is empty.

Functions

func Hello

func Hello(w http.ResponseWriter, req *http.Request)

Types

type Config

type Config struct {
	Port      int    `yaml:"port"`
	Path      string `yaml:"path"`
	Loglevel  string `yaml:"loglevel"`
	LogFormat string `yaml:"logformat"`
	ApiKey    string `yaml:"apikey"`
}

type HelloResp

type HelloResp struct {
}

type Service

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

func BuildService

func BuildService(config Config) (*Service, error)

BuildService creates the main service struct from config parameters

func (*Service) Start

func (s *Service) Start()

func (*Service) Stop

func (s *Service) Stop()

Jump to

Keyboard shortcuts

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