web

package
v0.0.0-...-d1be498 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 4 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 {
	// contains filtered or unexported fields
}

func NewGinServer

func NewGinServer(r ...*routes.Route) *Server

func (*Server) Handle

func (s *Server) Handle(httpMethod string, relativePath string, h ...handlers.Handler)

func (*Server) Run

func (s *Server) Run(addr ...string) error

func (*Server) Use

func (s *Server) Use(middleware ...handlers.Handler)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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