runtimeutil

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir(names ...string) *paths.Path

Dir creates nested directories under the current working directory and returns the final path.

func GetIPs

func GetIPs(includeLocalhost bool) []string

func LogServerWithBasePath

func LogServerWithBasePath(https bool, port int, basePath string)

func Print

func Print(v ...any)

func SetServerLogStyle

func SetServerLogStyle(style ServerLogStyle)

Types

type ServerLogStyle

type ServerLogStyle string
const (
	ServerLogStyleNeon   ServerLogStyle = "neon"
	ServerLogStyleSunset ServerLogStyle = "sunset"
	ServerLogStyleOcean  ServerLogStyle = "ocean"
	ServerLogStyleForest ServerLogStyle = "forest"
	ServerLogStyleMono   ServerLogStyle = "mono"
)

func ServerLogStyles

func ServerLogStyles() []ServerLogStyle

Jump to

Keyboard shortcuts

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