utils

package
v0.0.0-...-b579c22 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2016 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DB_PARAMS_TEMPLATE = "dbname=%v host=%v port=%v user=%v password=%v sslmode=disable"
)

Variables

View Source
var (
	Log = logging.MustGetLogger("CHRONITON")
)
View Source
var (
	ORM gorm.DB
)
View Source
var (
	SessionStore sessions.CookieStore
)

Functions

func GetDiffFormValues

func GetDiffFormValues(formValues url.Values, structValues map[string]interface{}) map[string]interface{}

func ParseUrl

func ParseUrl(u *url.URL) urlInfo

func Verify

func Verify(verifier Verifier) []error

Types

type Verifier

type Verifier interface {
	Verify() []error
}

Jump to

Keyboard shortcuts

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