models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceEnv

type ServiceEnv struct {
	Name              string // name of environment where this service is running
	Port              string // port on which this service runs, defaults to DefaultPort
	DBName            string // name of the database
	PrintQueries      bool   // should we print the DB queries that are triggered through this service, defaults to false
	MongoVaultSideCar string // path to find the mongo sidecar file
	DisableAuth       bool   // disables authentication , added to make local development/testing easy
	LogLevel          string // logger level for the service
}

type ServiceInfo

type ServiceInfo struct {
	Name        string // name of the service
	UpTime      string // time when the service started
	Environment string // environment details where the service is running
	Version     string // version of the service
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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