server

package
v0.0.0-...-8028f8b Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2016 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeAdmin

func InitializeAdmin(router *httptreemux.TreeMux)

func InitializeBlog

func InitializeBlog(router *httptreemux.TreeMux)

func InitializePages

func InitializePages(router *httptreemux.TreeMux)

Types

type JsonBlog

type JsonBlog struct {
	Url             string
	Title           string
	Description     string
	Cover           string
	Themes          []string
	ActiveTheme     string
	PostsPerPage    int64
	NavigationItems []structure.Navigation
}

type JsonImage

type JsonImage struct {
	Filename string
}

type JsonPost

type JsonPost struct {
	Id          int64
	Title       string
	Slug        string
	Markdown    string
	Html        string
	IsFeatured  bool
	IsPage      bool
	IsPublished bool
	Image       string
	Date        *time.Time
	Tags        string
}

type JsonUser

type JsonUser struct {
	Id               int64
	Name             string
	Slug             string
	Email            string
	Image            string
	Cover            string
	Bio              string
	Website          string
	Location         string
	Password         string
	PasswordRepeated string
}

type JsonUserId

type JsonUserId struct {
	Id int64
}

Jump to

Keyboard shortcuts

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