hello

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UptimeRoute = "/uptime"
	WSRoute     = "/ws"
	SSERoute    = "/sse"
	HealthRoute = "/_health"
)

Variables

This section is empty.

Functions

func CreateTLSListener

func CreateTLSListener(address string) (net.Listener, error)

func StartHelloWorldServer

func StartHelloWorldServer(log *zerolog.Logger, listener net.Listener, shutdownC <-chan struct{}) error

Types

type OriginUpTime

type OriginUpTime struct {
	StartTime time.Time `json:"startTime"`
	UpTime    string    `json:"uptime"`
}

Jump to

Keyboard shortcuts

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