memo

package
v0.0.0-...-b62e637 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicNo    uint = 0
	PublicRead  uint = 1
	PublicWrite uint = 2
	TitleMax    int  = 256
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp() (*App, error)

func (*App) ServeHTTP

func (a *App) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Memo

type Memo struct {
	ID       string     `json:"id"`
	Title    string     `json:"title"`
	Public   uint       `json:"public"`
	Update   time.Time  `json:"uplaod"`
	Text     db.Key     `json:"-"`
	Releases []*Release `json:"releases"`
	// contains filtered or unexported fields
}

type Release

type Release struct {
	Title string    `json:"title"`
	Date  time.Time `json:"date"`
	Text  db.Key    `json:"-"`
	Html  db.Key    `json:"-"`
	Pdf   db.Key    `json:"-"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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