server

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 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(mux *http.ServeMux)

func InitializeBlog

func InitializeBlog(mux *http.ServeMux)

Types

type JsonBlog

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

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