Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPURL ¶
type HTTPURL struct {
// contains filtered or unexported fields
}
HTTPURL represents a HTTP(S) URL.
func MustNewHTTPURL ¶
MustNewHTTPURL panics if the input is invalid.
func MustNewHTTPURLFromString ¶
MustNewHTTPURLFromString panics if the input is invalid.
func NewHTTPURLFromString ¶
NewHTTPURLFromString returns a new HTTPURL from a string.
func (HTTPURL) MarshalJSON ¶
MarshalJSON implements json.Marshaler. It returns the value as a JSON string.
func (*HTTPURL) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler. It accepts a JSON string.
Click to show internal directories.
Click to hide internal directories.