multiserver

package
v1.0.0-dev.52 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ctx context.Context) error

func Serve

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

func Shutdown

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