server

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2015 License: MIT Imports: 20 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)

Types

type JsonBlog

type JsonBlog struct {
	Title        string
	Description  string
	Cover        string
	Themes       []string
	ActiveTheme  string
	PostsPerPage int64
}

type JsonImage added in v0.1.0

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
	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