rasant

package module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 13 Imported by: 0

README

Rasant

Rasant is a web application framework written in the Go language.

Documentation

Index

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 (ras *Rasant) CreateDirIfNotExist(path string) error

func (*Rasant) CreateFileIfNotExist

func (ras *Rasant) CreateFileIfNotExist(path string) error

func (*Rasant) Init

func (ras *Rasant) Init(p initPaths) error

func (*Rasant) ListenAndServe

func (ras *Rasant) ListenAndServe()

ListenAndServe starts the web server

func (*Rasant) New

func (ras *Rasant) New(rootPath string) error

func (*Rasant) SessionLoad added in v0.0.7

func (ras *Rasant) SessionLoad(next http.Handler) http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL