Documentation ¶
Index ¶
- type App
- func (a *App) CreatePost(w http.ResponseWriter, r *http.Request)
- func (a *App) Delete(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) DeletePost(w http.ResponseWriter, r *http.Request)
- func (a *App) Get(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) GetAllPosts(w http.ResponseWriter, r *http.Request)
- func (a *App) GetPost(w http.ResponseWriter, r *http.Request)
- func (a *App) GetVersion(w http.ResponseWriter, r *http.Request)
- func (a *App) Initialize(config *config.Config)
- func (a *App) Post(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) Run(host string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
func (*App) CreatePost ¶
func (a *App) CreatePost(w http.ResponseWriter, r *http.Request)
func (*App) DeletePost ¶
func (a *App) DeletePost(w http.ResponseWriter, r *http.Request)
func (*App) GetAllPosts ¶
func (a *App) GetAllPosts(w http.ResponseWriter, r *http.Request)
func (*App) GetVersion ¶
func (a *App) GetVersion(w http.ResponseWriter, r *http.Request)
func (*App) Initialize ¶
Click to show internal directories.
Click to hide internal directories.