utils

package
v0.0.0-...-8faca40 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeQRCodeURL

func MakeQRCodeURL(data string) string

func NewListener

func NewListener(bindTo string, bufferSize int) (net.Listener, error)

func ReadConfig

func ReadConfig(path string) (*config.Config, error)

func RootContext

func RootContext() context.Context

func SetLimits

func SetLimits() error

Types

type Listener

type Listener struct {
	net.Listener
}

func (Listener) Accept

func (l Listener) Accept() (net.Conn, error)

Jump to

Keyboard shortcuts

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