server

package
v0.0.0-...-585f28f Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoServer

type EchoServer struct {
	Routers []service.RegisterRouter `group:"routes"`
	// contains filtered or unexported fields
}

func NewEchoServer

func NewEchoServer(routes []service.RegisterRouter, c *casbin.Enforcer, cfg configs.Config) *EchoServer

func (*EchoServer) Run

func (s *EchoServer) Run(port string)

func (*EchoServer) Server

func (s *EchoServer) Server() *echo.Echo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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