config

package
v0.0.0-...-f64704c Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Options    Options
	Project    Project
	ConfigFile string `yaml:"-"`
	ConfigURL  string `yaml:"-"`
}

type DB

type DB struct {
	Username    string
	Password    string
	Ip          string
	Port        int
	Database    string
	Environment string
}

func (DB) ConnectString

func (db DB) ConnectString() string

type Generation

type Generation struct {
	Templates []Template
}

type Git

type Git struct {
	Name    string
	Url     string
	Version string
}

type GrayLog

type GrayLog struct {
	Hostname        string
	Port            int
	Connection      string
	MaxChunkSizeWan int
	MaxChunkSizeLan int
	Parameters      []GrayLogParameter
}

type GrayLogParameter

type GrayLogParameter struct {
	Name  string
	Value string
}

type Management

type Management struct {
	DB DB
}

type Options

type Options struct {
	Namespaces  bool
	WorkingPath string
	Management  Management
	GrayLog     GrayLog
}

type Project

type Project struct {
	Name       string
	DB         DB
	Generation Generation
	Schema     Schema
	Git        Git
}

type Schema

type Schema struct {
	WorkingRelative bool
	Namespaces      []SchemaNamespace
}

type SchemaNamespace

type SchemaNamespace struct {
	Name        string
	TablePrefix string
	SchemaPath  string
	GenPath     string
}

type Template

type Template struct {
	Name       string
	File       string
	Path       string
	FileFormat string
	Ext        string
}

Jump to

Keyboard shortcuts

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