callback

package
v0.0.0-...-79d20a5 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents a server instance.

func NewServer

func NewServer(logger *zap.Logger, router chi.Router, codeCh chan string) *Server

NewServer creates a new Server instance.

func (*Server) Start

func (s *Server) Start() error

Start starts the Server instance.

func (*Server) Stop

func (s *Server) Stop(ctx context.Context) error

Stop stops the Server instance.

Jump to

Keyboard shortcuts

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