global

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const EnvPrefix = "ex"

EnvPrefix for env

Variables

View Source
var DefaultConfig = map[string]interface{}{
	"worker.number":   4,
	"queue.number":    4000,
	"http.addr":       ":7890",
	"http.log.enable": true,
	"http.api.path":   "",
	"limit.http.size": 1 << 20,
}

DefaultConfig TODO

Functions

This section is empty.

Types

type QueueFullError

type QueueFullError string

QueueFullError TODO

func (QueueFullError) Error

func (e QueueFullError) Error() string

type QueueUnavailableError

type QueueUnavailableError string

QueueUnavailableError TODO

func (QueueUnavailableError) Error

func (e QueueUnavailableError) Error() string

Jump to

Keyboard shortcuts

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