api

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 6 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(req *types.ApiInfo) (resp *types.BaseMsgResp, err 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(req *types.IDsReq) (resp *types.BaseMsgResp, err error)

type GetApiByIdLogic

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

func NewGetApiByIdLogic

func NewGetApiByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApiByIdLogic

func (*GetApiByIdLogic) GetApiById

func (l *GetApiByIdLogic) GetApiById(req *types.IDReq) (resp *types.ApiInfoResp, err error)

type GetApiListLogic

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

func NewGetApiListLogic

func NewGetApiListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApiListLogic

func (*GetApiListLogic) GetApiList

func (l *GetApiListLogic) GetApiList(req *types.ApiListReq) (resp *types.ApiListResp, err 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(req *types.ApiInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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