config

package
v0.0.0-...-e5a3c4b Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LOG_LEVEL_DEBUG   = 0
	LOG_LEVEL_INFO    = 1
	LOG_LEVEL_WARNING = 2
	LOG_LEVEL_ERROR   = 3

	// In seconds
	SOCKET_TIMEOUT     = 2
	SOCKET_MAX_RETRIES = 10
	SOCKET_HOST        = "localhost"
	SOCKET_PORT        = 47602

	DEBUG = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel byte
}

func NewConfig

func NewConfig(logLevel byte) *Config

Jump to

Keyboard shortcuts

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