micro_api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayApiService

type GatewayApiService interface {
	Clone(context.Context) GatewayApiService
	GetRuntimeApis(runtimeServiceId string, registerType ...string) ([]dto.ApiDto, error)
	CreateRuntimeApi(dto *dto.ApiDto, session ...*service.SessionHelper) (string, vars.StandardErrorCode, error)
	CreateApi(context.Context, *dto.ApiReqDto) (string, error)
	GetApiInfos(*dto.GetApisDto) (*common.PageQuery, error)
	DeleteApi(string) error
	UpdateApi(string, *dto.ApiReqDto) (*dto.ApiInfoDto, error)
	CreateUpstreamBindApi(ctx context.Context, consumer *orm.GatewayConsumer, appName, srvName, runtimeServiceID string,
		upstreamApi *orm.GatewayUpstreamApi, aliasPath string) (string, error)
	UpdateUpstreamBindApi(context.Context, *orm.GatewayConsumer, string, string, *orm.GatewayUpstreamApi, string) error
	DeleteUpstreamBindApi(*orm.GatewayUpstreamApi) error
	TouchRuntimeApi(*orm.GatewayRuntimeService, *service.SessionHelper, bool) error
	ClearRuntimeApi(*orm.GatewayRuntimeService) error
	GetGatewayProvider(az string) (string, error)
}
var Service GatewayApiService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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