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
Click to show internal directories.
Click to hide internal directories.