Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // fields Fields string `json:"fields,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Shorturl ¶
type Shorturl struct { // shorneted URL // Required: true Shorturl *string `json:"shorturl"` }
Shorturl shorturl
swagger:model shorturl
func (*Shorturl) MarshalBinary ¶
MarshalBinary interface implementation
func (*Shorturl) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type URL ¶
type URL struct { // initial URL to be shortened // Required: true URL *string `json:"url"` }
URL url
swagger:model url
func (*URL) MarshalBinary ¶
MarshalBinary interface implementation
func (*URL) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.