Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateShortReq ¶
type CreateShortReq struct { g.Meta `path:"/url" tags:"Account Service" method:"Post" summary:"create a short url"` *model.CreateShortInput }
CreateShortReq is the request struct for the CreateShort endpoint.
type CreateShortRes ¶
type CreateShortRes struct {
*model.CreateShortOutput
}
CreateShortRes is the response struct for the CreateShort endpoint.
type ModifyShortReq ¶
type ModifyShortReq struct { g.Meta `path:"/url/:shortUrl/change_state" tags:"Account Service" method:"Post" summary:"modify a short url"` *model.ModifyShortInput }
ModifyShortReq is the request struct for the ModifyShort endpoint.
type ModifyShortRes ¶
type ModifyShortRes struct {
*model.ModifyShortOutput
}
ModifyShortRes is the response struct for the ModifyShort endpoint.
type QueryShortReq ¶
type QueryShortReq struct { g.Meta `path:"/url/:shortUrl" tags:"Account Service" method:"Get" summary:"query a short url"` *model.QueryShortInput }
QueryShortReq is the request struct for the QueryShort endpoint.
type QueryShortRes ¶
type QueryShortRes struct {
*model.QueryShortOutput
}
QueryShortRes is the response struct for the QueryShort endpoint.
type QueryStatReq ¶
type QueryStatReq struct { g.Meta `path:"/url/:shortUrl/stat" tags:"Account Service" method:"Get" summary:"query a short url stat"` *model.QueryStatInput }
QueryStatReq is the request struct for the QueryStat endpoint.
type QueryStatRes ¶
type QueryStatRes struct {
*model.QueryStatOutput
}
QueryStatRes is the response struct for the QueryStat endpoint.
Click to show internal directories.
Click to hide internal directories.