models

package
v0.0.0-...-cf03254 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Id    bson.ObjectId `bson:"_id,omitempty"`
	Type  string
	Count uint64
}

type Casts

type Casts struct {
	Id         bson.ObjectId `bson:"_id,omitempty"`
	Author     string
	AuthorUrl  string
	VisitCount int
	Title      string
	LogoUrl    string
	Intro      string
	ShowNotes  string
	Url        string
}

type CastsView

type CastsView struct {
	Id         string
	Author     string
	AuthorUrl  string
	VisitCount int
	Title      string
	LogoUrl    string
	Intro      template.HTML
	ShowNotes  template.HTML
	Url        string
}

type Identity

type Identity struct {
	Id       bson.ObjectId `bson:"_id,omitempty"`
	Email    string
	Password []byte
}

type Tips

type Tips struct {
	Id      bson.ObjectId `bson:"_id,omitempty"`
	Content string
	Comment string
}

type TipsView

type TipsView struct {
	Id      string
	Content string
	Comment string
}

Jump to

Keyboard shortcuts

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