api

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 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 added in v0.2.4

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

func NewCreateApiLogic added in v0.2.4

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

func (*CreateApiLogic) CreateApi added in v0.2.4

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 added in v0.2.4

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

func NewGetApiByIdLogic added in v0.2.4

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

func (*GetApiByIdLogic) GetApiById added in v0.2.4

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 added in v0.2.4

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

func NewUpdateApiLogic added in v0.2.4

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

func (*UpdateApiLogic) UpdateApi added in v0.2.4

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