parseutil

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: MPL-2.0 Imports: 10 Imported by: 36

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddrs

func ParseAddrs(addrs interface{}) ([]*sockaddr.SockAddrMarshaler, error)

func ParseBool

func ParseBool(in interface{}) (bool, error)

func ParseCommaStringSlice

func ParseCommaStringSlice(in interface{}) ([]string, error)

func ParseDurationSecond

func ParseDurationSecond(in interface{}) (time.Duration, error)

func ParseInt

func ParseInt(in interface{}) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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