utils

package
v0.0.0-...-026a6ea Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 9 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

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