api

package
v0.0.0-...-0e0a456 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const API_CERTFILE = "apifullchain.cer"
View Source
const API_KEYFILE = "apicert.key"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

type ApiServer struct {
	Stats         atomic.Value
	StatsIntv     string
	ApiUseSSL     bool
	ApiSSLAddr    string
	ApiNonSSLAddr string
	MessageConfig *message.MessageConfig
}

func (*ApiServer) StartAPI

func (api *ApiServer) StartAPI()

Keep api running

Jump to

Keyboard shortcuts

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