utils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFileSetup added in v0.5.0

func ConfigFileSetup()

func GetLocalIP added in v0.5.0

func GetLocalIP() string

func GetLocalPort added in v0.5.0

func GetLocalPort() string

func LogError

func LogError(e error)

func Logs added in v0.6.3

func Logs(app *fiber.App)

func OpenBrowser

func OpenBrowser(domain, port string)

OpenBrowser opens default web browser in specific domain

func PasswordHash added in v0.6.3

func PasswordHash(password string) string

func RandString

func RandString(length int) string

RandString returns random string with specific length

func StartMessage

func StartMessage(protocol, port string)

StartMessage displays message on server start up

func StartServer added in v0.5.0

func StartServer(app *fiber.App)

Types

This section is empty.

Jump to

Keyboard shortcuts

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