shared

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PendingSuffix         = "-pending"
	DefaultMaxMessageSize = 2048
	DefaultConcurrency    = 8
)
View Source
const (
	Active   = 1
	InActive = 0
	Deleted  = -1
)
View Source
const (
	// StartTime represents timestamp in milliseconds for 2020-01-01 00:00:00 (1577836800 s since JAN 01 1970 UTC)
	StartTime int64 = 1577836800000
)

Variables

This section is empty.

Functions

func BatchID

func BatchID(URL string) string

func GetHostIPv4

func GetHostIPv4(hostname string) (string, error)

func GetLocalIPv4

func GetLocalIPv4() (string, error)

Types

type Errors

type Errors struct {
	Errors []error
	// contains filtered or unexported fields
}

func (*Errors) Add

func (e *Errors) Add(err error)

func (*Errors) First

func (e *Errors) First() error

Jump to

Keyboard shortcuts

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