handler

package
v0.0.0-...-2af310e Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Url

type Url struct {
	// contains filtered or unexported fields
}

func NewUrl

func NewUrl(svc *service.Service) *Url

func (*Url) Create

func (e *Url) Create(ctx context.Context, req *url.CreateRequest, rsp *url.CreateResponse) error

func (*Url) Delete

func (e *Url) Delete(ctx context.Context, req *url.DeleteRequest, rsp *url.DeleteResponse) error

func (*Url) DeleteData

func (e *Url) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, response *adminpb.DeleteDataResponse) error

func (*Url) List

func (e *Url) List(ctx context.Context, req *url.ListRequest, rsp *url.ListResponse) error

func (*Url) Resolve

func (e *Url) Resolve(ctx context.Context, req *url.ResolveRequest, rsp *url.ResolveResponse) error

func (*Url) Shorten

func (e *Url) Shorten(ctx context.Context, req *url.ShortenRequest, rsp *url.ShortenResponse) error

func (*Url) Update

func (e *Url) Update(ctx context.Context, req *url.UpdateRequest, rsp *url.UpdateResponse) error

func (*Url) Usage

func (e *Url) Usage(ctx context.Context, request *adminpb.UsageRequest, response *adminpb.UsageResponse) error

Jump to

Keyboard shortcuts

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