Documentation ¶
Index ¶
- type Controller
- func (c *Controller) CreateShort(ctx context.Context, req *v1.CreateShortReq) (res *v1.CreateShortRes, err error)
- func (c *Controller) ModifyShort(ctx context.Context, req *v1.ModifyShortReq) (res *v1.ModifyShortRes, err error)
- func (c *Controller) QueryShort(ctx context.Context, req *v1.QueryShortReq) (res *v1.QueryShortRes, err error)
- func (c *Controller) QueryStat(ctx context.Context, req *v1.QueryStatReq) (res *v1.QueryStatRes, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v0.0.3
type Controller struct { }
func (*Controller) CreateShort ¶ added in v0.0.3
func (c *Controller) CreateShort(ctx context.Context, req *v1.CreateShortReq) (res *v1.CreateShortRes, err error)
CreateShort is the handler for CreateShort
func (*Controller) ModifyShort ¶ added in v0.0.3
func (c *Controller) ModifyShort(ctx context.Context, req *v1.ModifyShortReq) (res *v1.ModifyShortRes, err error)
ModifyShort is the handler for ModifyShort
func (*Controller) QueryShort ¶ added in v0.0.3
func (c *Controller) QueryShort(ctx context.Context, req *v1.QueryShortReq) (res *v1.QueryShortRes, err error)
QueryShort is the handler for QueryShort
func (*Controller) QueryStat ¶ added in v0.0.3
func (c *Controller) QueryStat(ctx context.Context, req *v1.QueryStatReq) (res *v1.QueryStatRes, err error)
QueryStat is the handler for QueryStat
Click to show internal directories.
Click to hide internal directories.