handler

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v1.1.0

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

func (*Url) Delete added in v1.0.0

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

func (*Url) DeleteData added in v0.25.0

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 added in v1.1.0

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 added in v1.1.0

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

func (*Url) Usage added in v0.26.0

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