ettp

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(appName string) (*Server, error)

* * New * @param appName string * @return *Server, error *

func (*Server) Background added in v1.0.5

func (s *Server) Background()

* * Background *

func (*Server) Cli added in v1.0.5

func (s *Server) Cli()

* * Cli *

func (*Server) Close

func (s *Server) Close()

* * Close *

func (*Server) Mount

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

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

func (*Server) OnClose added in v1.0.5

func (s *Server) OnClose(onClose func())

* * OnClose * @param onClose func() *

func (*Server) Start

func (s *Server) Start()

* * Start *

func (*Server) StartHttpServer added in v1.0.5

func (s *Server) StartHttpServer()

* * StartHttpServer *

Jump to

Keyboard shortcuts

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