server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTML

func HTML(opts ...ServerOption)

HTML is a very basic html server to handle the reports.

Types

type Server

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

type ServerOption

type ServerOption func(*Server)

func Verbose

func Verbose(on bool) ServerOption

func WithAPIKey

func WithAPIKey(apiKey string) ServerOption

func WithDB

func WithDB(db *sql.DB) ServerOption

func WithDataDir

func WithDataDir(dataDir string) ServerOption

Jump to

Keyboard shortcuts

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