server

package
v0.0.0-...-f39fe76 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 6 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 {
	// contains filtered or unexported fields
}

func NewEcho

func NewEcho(conf config.Config) *EchoServer

func (*EchoServer) Server

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

func (*EchoServer) Shutdown

func (s *EchoServer) Shutdown(ctx context.Context) error

func (*EchoServer) Start

func (s *EchoServer) Start()

type Server

type Server interface {
	Start()
	Shutdown(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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