short

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: 5 Imported by: 0

Documentation

Index

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 New

func New() *Controller

New is the constructor of Controller.

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

Jump to

Keyboard shortcuts

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