services

package
v0.0.0-...-7b9b616 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// Bus    *bus.Bus
	Config  *config.Config
	DB      *pgx.ConnPool
	Release bool
	Log     *Logger
}

func (*Database) GetPoll

func (self *Database) GetPoll() (pool *pgx.ConnPool)

Get PostgreSQL pool

func (*Database) Start

func (self *Database) Start()

Start PostgreSQL pool

type Logger

type Logger struct {
	Config  *config.Config
	Release bool
	log.Logger
	Level log.Lvl
}

func (*Logger) Start

func (self *Logger) Start()

Start Logger service

type Server

type Server struct {
	Config  *config.Config
	DB      *pgx.ConnPool
	Release bool

	Log *Logger
	// contains filtered or unexported fields
}

func (*Server) Start

func (self *Server) Start()

Start Web Server

Jump to

Keyboard shortcuts

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