apilogic

package
v0.0.0-...-7745932 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateApiLogic

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

func NewCreateApiLogic

func NewCreateApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateApiLogic

func (*CreateApiLogic) CreateApi

func (l *CreateApiLogic) CreateApi(in *pb.CreateApiReq) (*pb.BaseResp, error)

type DeleteApiLogic

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

func NewDeleteApiLogic

func NewDeleteApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteApiLogic

func (*DeleteApiLogic) DeleteApi

func (l *DeleteApiLogic) DeleteApi(in *pb.IDReq) (*pb.BaseResp, error)

type GetApiListByMenuLogic

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

func NewGetApiListByMenuLogic

func NewGetApiListByMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApiListByMenuLogic

func (*GetApiListByMenuLogic) GetApiListByMenu

func (l *GetApiListByMenuLogic) GetApiListByMenu(in *pb.IDReq) (*pb.GetApiListResp, error)

type GetApiLogic

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

func NewGetApiLogic

func NewGetApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApiLogic

func (*GetApiLogic) GetApi

func (l *GetApiLogic) GetApi(in *pb.IDReq) (*pb.GetApiResp, error)

type UpdateApiLogic

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

func NewUpdateApiLogic

func NewUpdateApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateApiLogic

func (*UpdateApiLogic) UpdateApi

func (l *UpdateApiLogic) UpdateApi(in *pb.UpdateApiReq) (*pb.BaseResp, error)

Jump to

Keyboard shortcuts

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