server

package
v0.0.0-...-b6dc9e9 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: GPL-3.0 Imports: 12 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
}

func New

func New(ctx context.Context, host string, port uint, shutdownTimeout time.Duration, cmdBus command.Bus, qryBus query.Bus) (context.Context, Server)

Gin wrapper

func (*Server) Run

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

The context is necessary to perform graceful shutdown

Directories

Path Synopsis
handler

Jump to

Keyboard shortcuts

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