Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
Host - holds network host IP/name and its port.
func MustParseHost ¶
MustParseHost - parses given string to Host, else panics.
func (Host) MarshalJSON ¶
MarshalJSON - converts Host into JSON data
func (*Host) UnmarshalJSON ¶
UnmarshalJSON - parses data into Host.
type Port ¶
type Port uint16
Port - network port
func MustParsePort ¶
MustParsePort - parses string into Port, else panics
type URL ¶
URL - improved JSON friendly url.URL.
func (URL) MarshalJSON ¶
MarshalJSON - converts to JSON string data.
func (*URL) UnmarshalJSON ¶
UnmarshalJSON - parses given data into URL.
Click to show internal directories.
Click to hide internal directories.