Documentation ¶ Index ¶ Constants type App func NewApp() (*App, error) func (a *App) ServeHTTP(w http.ResponseWriter, r *http.Request) type Memo type Release 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:"-"` } Source Files ¶ View all Source files app.go http_utils.go memo.go Directories ¶ Show internal Expand all Path Synopsis genhtml genpdf Click to show internal directories. Click to hide internal directories.