Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Debug bool `toml:"debug"` Testing bool `toml:"testing"` DatabasePath string `toml:"database_path"` ServerPort string `toml:"server_port"` }
AppConfig struct
func NewAppConfig ¶
NewAppConfig creates new config
func NewAppDefaultConfig ¶
func NewAppDefaultConfig() *AppConfig
NewAppDefaultConfig create new default config
type MessageResponse ¶
type MessageResponse struct {
Data StatusMessage `json:"data"`
}
MessageResponse struct
type Note ¶
type Note struct { ID int `json:"id"` Title string `json:"title"` Body null.String `json:"body"` Created string `json:"created"` Updated string `json:"updated"` }
Note struct
type NoteTitle ¶
type NoteTitle struct { ID int `json:"id"` Title string `json:"title"` Created string `json:"created"` Updated string `json:"updated"` }
NoteTitle struct
type NoteTitlesResponse ¶
type NoteTitlesResponse struct {
Data []NoteTitle `json:"data"`
}
NoteTitlesResponse struct
type StatusMessage ¶
type StatusMessage struct {
Message string `json:"message"`
}
StatusMessage struct
Source Files ¶
Click to show internal directories.
Click to hide internal directories.