gabi

package
v0.0.0-...-29fea5a Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The total time it takes to read the request from the client.
	DefaultReadTimeout = 1 * time.Minute

	// The total time it takes to execute the request.
	DefaultRequestTimeout = 2 * time.Minute
)

Variables

This section is empty.

Functions

func Production

func Production() bool

func RequestTimeout

func RequestTimeout() time.Duration

Types

type Config

type Config struct {
	DB          *sql.DB
	DBEnv       *db.Env
	UserEnv     *user.Env
	LoggerAudit audit.Audit
	SplunkAudit audit.Audit
	Logger      *zap.SugaredLogger
	Encoder     *base64.Encoding
}

Directories

Path Synopsis
env
db

Jump to

Keyboard shortcuts

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