Documentation ¶
Index ¶
- func CanonicalizeEndpoint(str string) string
- func CheckDNS1035(str string) error
- func CheckDNS1123(str string) error
- func ErrorDNS1035(provided string) error
- func ErrorDNS1123(provided string) error
- func ErrorEndpoint(provided string) error
- func ErrorEndpointDoubleSlash(provided string) error
- func ErrorEndpointEmptyPath() error
- func ErrorInvalidURL(provided string) error
- func Join(strs ...string) string
- func Parse(rawurl string) (*url.URL, error)
- func ValidateEndpoint(str string) (string, error)
- type Error
- type ErrorKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalizeEndpoint ¶ added in v0.10.2
func CheckDNS1035 ¶ added in v0.4.0
func CheckDNS1123 ¶ added in v0.4.0
func ErrorDNS1035 ¶ added in v0.4.0
func ErrorDNS1123 ¶ added in v0.4.0
func ErrorEndpoint ¶ added in v0.10.0
func ErrorEndpointDoubleSlash ¶ added in v0.10.0
func ErrorEndpointEmptyPath ¶ added in v0.10.0
func ErrorEndpointEmptyPath() error
func ErrorInvalidURL ¶ added in v0.4.0
func ValidateEndpoint ¶ added in v0.10.0
Types ¶
type Error ¶ added in v0.4.0
type Error struct { Kind ErrorKind // contains filtered or unexported fields }
type ErrorKind ¶ added in v0.4.0
type ErrorKind int
func (ErrorKind) MarshalBinary ¶ added in v0.4.0
MarshalBinary satisfies BinaryMarshaler
func (ErrorKind) MarshalText ¶ added in v0.4.0
MarshalText satisfies TextMarshaler
func (*ErrorKind) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary satisfies BinaryUnmarshaler Needed for msgpack
func (*ErrorKind) UnmarshalText ¶ added in v0.4.0
UnmarshalText satisfies TextUnmarshaler
Click to show internal directories.
Click to hide internal directories.