Documentation ¶ Index ¶ type Web func Easy_boot() *Web func New(conf *http.Server) (o *Web) func (t *Web) Handle(path_func map[string]func(http.ResponseWriter, *http.Request)) type WebPath func (t *WebPath) Load(path string) (func(w http.ResponseWriter, r *http.Request), bool) func (t *WebPath) Store(path string, f func(w http.ResponseWriter, r *http.Request)) type WebSync func NewSyncMap(conf *http.Server, m *WebPath) (o *WebSync) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Web ¶ type Web struct { Server *http.Server // contains filtered or unexported fields } func Easy_boot ¶ func Easy_boot() *Web func New ¶ func New(conf *http.Server) (o *Web) func (*Web) Handle ¶ func (t *Web) Handle(path_func map[string]func(http.ResponseWriter, *http.Request)) type WebPath ¶ added in v0.22.4 type WebPath struct { sync.RWMutex // contains filtered or unexported fields } func (*WebPath) Load ¶ added in v0.22.4 func (t *WebPath) Load(path string) (func(w http.ResponseWriter, r *http.Request), bool) func (*WebPath) Store ¶ added in v0.22.4 func (t *WebPath) Store(path string, f func(w http.ResponseWriter, r *http.Request)) type WebSync ¶ added in v0.22.4 type WebSync struct { Server *http.Server // contains filtered or unexported fields } func NewSyncMap ¶ added in v0.22.1 func NewSyncMap(conf *http.Server, m *WebPath) (o *WebSync) Source Files ¶ View all Source files Web.go Click to show internal directories. Click to hide internal directories.