govdev

package module
v0.1.1-0...-4a89cbd Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: MPL-2.0 Imports: 13 Imported by: 0

README

Govdev

A highly configurable and scalable backend for managing user services. Originally built to serve UCLA DevX's application portal needs

Requirements Specification and Architecture

The software requirements specification details in non-technical terms the necessary functionalities this software should include

The architecture specification details how the software is organized, how it fits together, and the correct functionality.

License

This software in it's entirety is licensed under MPL 2.0. To use this software, you must follow the license terms, linked here

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(conf Config)

Types

type CacheConfig

type CacheConfig struct {
	Engine   string
	Host     string
	Port     string
	Password string
	DBName   int
}

type Config

type Config struct {
	Port        string
	Debug       bool
	Hidebanner  bool
	Database    DatabaseConfig
	Cache       CacheConfig
	ObjectStore MinioConfig
}

func LoadConfig

func LoadConfig() (Config, []error)

type DatabaseConfig

type DatabaseConfig struct {
	Engine   string
	User     string
	Password string
	DBName   string
	Port     string
	SSLMode  string
	Host     string
}

type MinioConfig

type MinioConfig struct {
	Host            string
	Port            string
	AccessKeyID     string
	SecretAccessKey string
	UseSSL          bool
}

Directories

Path Synopsis
adapters
cmd
stores
util
error
Package errors wraps Dave Cheney's errors package, by adding an error type and context to the error.
Package errors wraps Dave Cheney's errors package, by adding an error type and context to the error.
logger
logger is a package that logs based on five levels, Debug, Info, Warn, Error, and Fatal.
logger is a package that logs based on five levels, Debug, Info, Warn, Error, and Fatal.

Jump to

Keyboard shortcuts

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