utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsReadableFile

func IsReadableFile(path string) bool

func IsValidIPPort

func IsValidIPPort(s string) bool

Types

type DomainInfo

type DomainInfo struct {
	Scheme string
	Host   string
	Port   string
}

func ParseDomainWithScheme

func ParseDomainWithScheme(s string) (*DomainInfo, error)

Jump to

Keyboard shortcuts

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