micro_api

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 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(*dto.ApiReqDto) (string, error)
	GetApiInfos(*dto.GetApisDto) (*common.PageQuery, error)
	DeleteApi(string) error
	UpdateApi(string, *dto.ApiReqDto) (*dto.ApiInfoDto, error)
	CreateUpstreamBindApi(*orm.GatewayConsumer, string, string, string, *orm.GatewayUpstreamApi, string) (string, error)
	UpdateUpstreamBindApi(*orm.GatewayConsumer, string, string, *orm.GatewayUpstreamApi, string) error
	DeleteUpstreamBindApi(*orm.GatewayUpstreamApi) error
	TouchRuntimeApi(*orm.GatewayRuntimeService, *service.SessionHelper, bool) error
	ClearRuntimeApi(*orm.GatewayRuntimeService) 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