multiserver

package module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 3 Imported by: 24

README

multiserver

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check added in v1.1.0

func Check(ctx context.Context) error

func Serve

func Serve(ctx context.Context, srvs ...Server)

func Shutdown added in v1.1.0

func Shutdown(ctx context.Context)

Types

type Server

type Server interface {
	Serve(context.Context)
	Shutdown(context.Context)
}

Jump to

Keyboard shortcuts

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