api

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrUpdateApiLogic

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

func NewCreateOrUpdateApiLogic

func NewCreateOrUpdateApiLogic(r *http.Request, svcCtx *svc.ServiceContext) *CreateOrUpdateApiLogic

func (*CreateOrUpdateApiLogic) CreateOrUpdateApi

func (l *CreateOrUpdateApiLogic) CreateOrUpdateApi(req *types.CreateOrUpdateApiReq) (resp *types.BaseMsgResp, err error)

type DeleteApiLogic

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

func NewDeleteApiLogic

func NewDeleteApiLogic(r *http.Request, svcCtx *svc.ServiceContext) *DeleteApiLogic

func (*DeleteApiLogic) DeleteApi

func (l *DeleteApiLogic) DeleteApi(req *types.IDReq) (resp *types.BaseMsgResp, err error)

type GetApiListLogic

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

func NewGetApiListLogic

func NewGetApiListLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetApiListLogic

func (*GetApiListLogic) GetApiList

func (l *GetApiListLogic) GetApiList(req *types.ApiListReq) (resp *types.ApiListResp, err error)

Jump to

Keyboard shortcuts

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