Documentation ¶
Index ¶
- type Rasant
- func (ras *Rasant) CreateDirIfNotExist(path string) error
- func (ras *Rasant) CreateFileIfNotExist(path string) error
- func (ras *Rasant) Init(p initPaths) error
- func (ras *Rasant) ListenAndServe()
- func (ras *Rasant) New(rootPath string) error
- func (ras *Rasant) SessionLoad(next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rasant ¶
type Rasant struct { AppName string Debug bool Version string ErrorLog *log.Logger InfoLog *log.Logger RootPath string Routes *chi.Mux Render *render.Render Session *scs.SessionManager JetViews *jet.Set // contains filtered or unexported fields }
func (*Rasant) CreateDirIfNotExist ¶
func (*Rasant) CreateFileIfNotExist ¶
func (*Rasant) ListenAndServe ¶
func (ras *Rasant) ListenAndServe()
ListenAndServe starts the web server
Click to show internal directories.
Click to hide internal directories.