server

package
v0.0.0-...-7acbcea Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 4 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 {
	*echo.Echo
	// contains filtered or unexported fields
}

func NewEchoServer

func NewEchoServer() *EchoServer

func (*EchoServer) InitRoutes

func (s *EchoServer) InitRoutes(handler *handler.Handler)

func (*EchoServer) Run

func (s *EchoServer) Run(address string) error

func (*EchoServer) Stop

func (s *EchoServer) Stop() error

type Server

type Server interface {
	Run(string) error
	InitRoutes(*handler.Handler)
	Stop() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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