Documentation ¶
Index ¶
- func Init(templatesDir string, errorLogger *log.Logger)
- func SetConnectionHandler(ch *httphandler.Requests)
- func SetUpLogger(infoLogger *log.Logger, errorLogger *log.Logger)
- func SetUpRouter(staticDir string)
- func SetUpServer(addr string, errorLogger *log.Logger)
- func SetUpdateFetcher(uf *httphandler.UpdateFetcher)
- func Start()
- type HttpServerLogger
- type Render
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetConnectionHandler ¶
func SetConnectionHandler(ch *httphandler.Requests)
func SetUpRouter ¶
func SetUpRouter(staticDir string)
func SetUpServer ¶
func SetUpdateFetcher ¶
func SetUpdateFetcher(uf *httphandler.UpdateFetcher)
Types ¶
type HttpServerLogger ¶
type HttpServerLogger struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.