Documentation ¶
Index ¶
- func BroadcastIP(network *net.IPNet) (*net.IP, error)
- func GenerateHashSHA512(data io.ReadCloser) []byte
- func PanicOnError(e error)
- func PanicOnError2[T any](v T, e error) T
- func SignalHandler(applicationMain func(), shutdownHandler func(), signals ...os.Signal)
- func StripError[T any](v T, e error) T
- type Optional
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHashSHA512 ¶
func GenerateHashSHA512(data io.ReadCloser) []byte
func PanicOnError ¶
func PanicOnError(e error)
func PanicOnError2 ¶
func SignalHandler ¶
func StripError ¶
Discouraged! Only around for assured parsing
Types ¶
type Optional ¶
type Optional[T any] struct { // contains filtered or unexported fields }
Remember to use pointers for non-primitives
func NewOptional ¶
Click to show internal directories.
Click to hide internal directories.