logic

package
v0.0.0-...-39337ee Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PullLogic

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

func NewPullLogic

func NewPullLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PullLogic

func (*PullLogic) Pull

func (l *PullLogic) Pull(in *msg.PullRequest) (*msg.PullResponse, error)

type UploadLogic

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

func NewUploadLogic

func NewUploadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UploadLogic

func (*UploadLogic) Upload

func (l *UploadLogic) Upload(in *msg.UploadRequest) (*msg.UploadResponse, error)

Jump to

Keyboard shortcuts

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