base

package
v0.0.0-...-316850d Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2013 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HOME_PAGE_KEY           = "homePage"
	HOME_PAGE               = "home"
	ABOUT_ME_PAGE_KEY       = "aboutMePage"
	ABOUT_ME_PAGE           = "about_me"
	ABOUT_WEBSITE_PAGE_KEY  = "aboutWebsitePage"
	ABOUT_WEBSITE_PAGE      = "about_website"
	MEETING_KANBAN_PAGE_KEY = "meetingKanbanPage"
	MEETING_KANBAN_PAGE     = "meeting_kanban"
	PROJECT_HASH_RING_KEY   = "projectHashRingPage"
	PROJECT_HASH_RING_PAGE  = "project_hash_ring"
	ADMIN_AUTH_CODE_KEY     = "adminAuthCodePage"
	ADMIN_AUTH_CODE_PAGE    = "admin_auth_code"
	ADMIN_USER_LIST_KEY     = "adminUserListPage"
	ADMIN_USER_LIST_PAGE    = "admin_user_list"
)

page parameter

View Source
const (
	CONFIG_FILE_NAME = "hypermind.config"
)

config

View Source
const (
	CV_FILE_NAME = "resume.html"
)

Variables

This section is empty.

Functions

func EncryptWithMd5

func EncryptWithMd5(plaintext string) (ciphertext string)

func EncryptWithSha1

func EncryptWithSha1(plaintext string) (ciphertext string)

func GenerateResourceFilePath

func GenerateResourceFilePath(fileName string) string

func GetCvContent

func GetCvContent() (string, error)

func GetHmConfig

func GetHmConfig() go_lib.Config

func Logger

func Logger() logging.Logger

func ReadFileLines

func ReadFileLines(file *os.File, beginLine uint64, endLine uint64) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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