util

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseURL added in v0.13.11

func ParseURL(urlStr string) (*url.URL, error)

func PollWithContext added in v0.13.10

func PollWithContext(ctx context.Context, interval time.Duration, f FuncToExecute)

func SchemeAndAddress added in v0.13.1

func SchemeAndAddress(str string) (string, string)

SchemeAndAddress crudely splits a URL string into scheme and address, where the address includes everything after the scheme/authority separator.

Types

type FuncToExecute added in v0.13.10

type FuncToExecute func(context.Context) (bool, error)

type Stripped

type Stripped string

func (Stripped) String

func (s Stripped) String() string

Jump to

Keyboard shortcuts

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