Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitChans ¶
func InitChans() map[string]chan ChannelMessage
func InitDatabase ¶
InitDatabase bootstraps database and returns app storage.
Types ¶
type App ¶
type App struct { Server *http.Server Storage model.Storage Router *chi.Mux Logger *zerolog.Logger Channels map[string]chan ChannelMessage }
App ...
func (*App) Bootstrap ¶
Bootstrap prepares app for run by setting things up based on provided config.
type ChannelMessage ¶
type ChannelMessage struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.