v1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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