Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLinkRequest ¶
type CreateLinkRequest struct {
Link string `json:"link"`
}
func (CreateLinkRequest) MarshalEasyJSON ¶
func (v CreateLinkRequest) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CreateLinkRequest) MarshalJSON ¶
func (v CreateLinkRequest) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CreateLinkRequest) UnmarshalEasyJSON ¶
func (v *CreateLinkRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CreateLinkRequest) UnmarshalJSON ¶
func (v *CreateLinkRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type CreateLinkResponse ¶
type CreateLinkResponse struct {
ShortLink string `json:"short_link"`
ExpiresAt time.Time `json:"expires_at"`
}
func (CreateLinkResponse) MarshalEasyJSON ¶
func (v CreateLinkResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CreateLinkResponse) MarshalJSON ¶
func (v CreateLinkResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CreateLinkResponse) UnmarshalEasyJSON ¶
func (v *CreateLinkResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CreateLinkResponse) UnmarshalJSON ¶
func (v *CreateLinkResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.