api

package
v0.0.0-...-663e6fc Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 9 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 *core.ApiInfo) (*core.BaseIDResp, 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 *core.IDsReq) (*core.BaseResp, 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(in *core.IDReq) (*core.ApiInfo, 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(in *core.ApiListReq) (*core.ApiListResp, 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 *core.ApiInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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