server

package
v0.0.0-...-ad732be Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2015 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Resources make server's resource list
	Resources = models.ResourceMap{}

	//Layouts make server's layout list
	Layouts = models.Layouts{}

	ChangedLayout = models.ChangedLayout{}

	CurrentLayout = models.Layout{}

	UpdateLayout = models.UpdateLayout{}

	Mongo DBImpl
)

Functions

func Open

func Open()

Open makes screen_server open

Types

type Config

type Config struct {
	DB         map[string][]string `yaml:"db,omitempty"`
	ServiceUrl []string            `yaml:"configserivce"`
}
var Settings Config

type DBImpl

type DBImpl struct {
	Session *mgo.Session
	DB      *mgo.Database
}

func (*DBImpl) InitDB

func (s *DBImpl) InitDB()

Jump to

Keyboard shortcuts

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