util

package
v0.0.0-...-edb78a7 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2015 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword

func ComparePassword(plainPwd, pwd string) bool

func CreatePassword

func CreatePassword(pwd string) string

func GetOpt

func GetOpt(name, def string) string

func ToInteger

func ToInteger(str string) int

func ToInteger64

func ToInteger64(str string) int64

Types

type Certified

type Certified struct {
	PrivateKey []byte
	PublicKey  []byte
}

type ResourceConfig

type ResourceConfig struct {
	Database struct {
		Datasource string
		Showsql    bool
		Pool       struct {
			Min int
			Max int
		}
	}
	Certs struct {
		Private string
		Public  string
	}
}

Jump to

Keyboard shortcuts

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