server

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ettp

type Ettp struct {
	*chi.Mux
	// contains filtered or unexported fields
}

func New

func New(appName string) *Ettp

* * New * @param appName string * @return *Ettp *

func (*Ettp) Close

func (s *Ettp) Close()

* * Close *

func (*Ettp) HandleFunc added in v1.0.12

func (s *Ettp) HandleFunc(pattern string, handlerFn http.HandlerFunc)

* * HandleFunc * @param pattern string, handlerFn http.HandlerFunc *

func (*Ettp) Mount

func (s *Ettp) Mount(pattern string, handler http.Handler)

* * Mount * @param pattern string, handler http.Handler *

func (*Ettp) NotFound added in v1.0.12

func (s *Ettp) NotFound(handlerFn http.HandlerFunc)

* * NotFound * @param handlerFn http.HandlerFunc *

func (*Ettp) OnClose

func (s *Ettp) OnClose(onClose func())

* * OnClose * @param onClose func() *

func (*Ettp) OnStart added in v1.0.12

func (s *Ettp) OnStart(onStart func())

* * OnStart * @param onStart func() *

func (*Ettp) Start

func (s *Ettp) Start()

* * Start *

func (*Ettp) Use added in v1.0.12

func (s *Ettp) Use(middlewares ...func(http.Handler) http.Handler)

* * Use * @param middlewares ...func(http.Handler) http.Handler *

Jump to

Keyboard shortcuts

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