Documentation ¶
Index ¶
- type Config
- func (config *Config) CreateTodo(w http.ResponseWriter, r *http.Request)
- func (config *Config) DeleteTodo(w http.ResponseWriter, r *http.Request)
- func (config *Config) GetATodo(w http.ResponseWriter, r *http.Request)
- func (config *Config) GetAllTodos(w http.ResponseWriter, r *http.Request)
- func (config *Config) Routes() *chi.Mux
- type Todo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) CreateTodo ¶
func (config *Config) CreateTodo(w http.ResponseWriter, r *http.Request)
func (*Config) DeleteTodo ¶
func (config *Config) DeleteTodo(w http.ResponseWriter, r *http.Request)
func (*Config) GetAllTodos ¶
func (config *Config) GetAllTodos(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.