data

package
v0.0.0-...-1fbbad1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2016 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoImport

func DoImport()

DoImport import base data

func GetPermissions

func GetPermissions() map[string][]map[string]string

GetPermissions load permission data from json file

func GetPosts

func GetPosts() map[string]post

func GetRoles

func GetRoles() map[string]rolePermissions

GetRoles load role data from json file

func GlobalInit

func GlobalInit()

GlobalInit initialize global configuration

func ImportPosts

func ImportPosts(user *models.User)

ImportPosts import post data

Types

This section is empty.

Jump to

Keyboard shortcuts

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