dto

package
v0.0.0-...-e10dee8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL