server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServerRouter

type HttpServerRouter struct {
	Path    string
	Method  util.HttpMethod
	Handler func(context *gin.Context)
}

type MicroServer

type MicroServer struct {
	GinServer *gin.Engine
}

func InitServer

func InitServer() MicroServer

func (MicroServer) RegisterGinRouter

func (m MicroServer) RegisterGinRouter(router HttpServerRouter)

func (MicroServer) RunServer

func (m MicroServer) RunServer()

Jump to

Keyboard shortcuts

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