Back to godoc.org
github.com/hashicorp/vault/sdk / helper / parseutil

package parseutil

v0.1.13
Latest Go to latest
Published: Jul 25, 2019 | License: MPL-2.0 | Module: github.com/hashicorp/vault/sdk

Index

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)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier