listener

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(name string) *Logger

NewLogger creates a new listener logger

func (*Logger) ServerStarted

func (l *Logger) ServerStarted(port string)

ServerStarted logs a success message when the server starts

type ServicePort

type ServicePort struct {
	Port          string
	FormattedPort string
}

func LoadServicePort

func LoadServicePort(key string) (servicePort *ServicePort, err error)

LoadServicePort load Service port from environment variables

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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