logic

package
v0.0.0-...-63ac2f8 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpandLogic

type ExpandLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewExpandLogic

func NewExpandLogic(ctx context.Context, svcCtx *svc.ServiceContext) ExpandLogic

func (*ExpandLogic) Expand

func (l *ExpandLogic) Expand(req types.ExpandReq) (*types.ExpandResp, error)

type ShortenLogic

type ShortenLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewShortenLogic

func NewShortenLogic(ctx context.Context, svcCtx *svc.ServiceContext) ShortenLogic

func (*ShortenLogic) Shorten

func (l *ShortenLogic) Shorten(req types.ShortenReq) (*types.ShortenResp, error)

Jump to

Keyboard shortcuts

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