api

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API is the struct that manages the api

func New

func New(srv *service.Service, version string) *API

New returns the API struct

func (*API) Start

func (a *API) Start(apiPort string, tlsCertificate, tlsKey, tlsCaCert string, remaining int, requireClientCertificate bool, outputPaths, errorOutputPaths []string, debug bool) error

Start the API

func (*API) Stop added in v0.1.12

func (a *API) Stop() error

Stop the API

Jump to

Keyboard shortcuts

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