Documentation ¶
Index ¶
- func NewGatewayApiServiceImpl() error
- type GatewayApiServiceImpl
- func (impl GatewayApiServiceImpl) ClearRuntimeApi(dao *orm.GatewayRuntimeService) error
- func (impl GatewayApiServiceImpl) Clone(ctx context.Context) micro_api.GatewayApiService
- func (impl GatewayApiServiceImpl) CreateApi(req *gw.ApiReqDto) (apiId string, err error)
- func (impl GatewayApiServiceImpl) CreateRuntimeApi(dto *gw.ApiDto, session ...*db.SessionHelper) (string, StandardErrorCode, error)
- func (impl GatewayApiServiceImpl) CreateUnitiyPackageShadowApi(apiId, projectId, env, az string) error
- func (impl GatewayApiServiceImpl) CreateUpstreamBindApi(consumer *orm.GatewayConsumer, appName, srvName, runtimeServiceId string, ...) (string, error)
- func (impl GatewayApiServiceImpl) DeleteApi(apiId string) error
- func (impl GatewayApiServiceImpl) DeleteUpstreamBindApi(upstreamApi *orm.GatewayUpstreamApi) error
- func (impl GatewayApiServiceImpl) GetApiInfos(dto *gw.GetApisDto) (result *common.PageQuery, err error)
- func (impl GatewayApiServiceImpl) GetRuntimeApis(runtimeServiceId string, registerType ...string) ([]gw.ApiDto, error)
- func (impl GatewayApiServiceImpl) TouchRuntimeApi(dao *orm.GatewayRuntimeService, session *db.SessionHelper, newCreated bool) error
- func (impl GatewayApiServiceImpl) UpdateApi(apiId string, req *gw.ApiReqDto) (apiInfo *gw.ApiInfoDto, err error)
- func (impl GatewayApiServiceImpl) UpdateUpstreamBindApi(consumer *orm.GatewayConsumer, appName, serviceName string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayApiServiceImpl ¶
func NewGatewayApiServiceImpl() error
Types ¶
type GatewayApiServiceImpl ¶
type GatewayApiServiceImpl struct {
// contains filtered or unexported fields
}
func (GatewayApiServiceImpl) ClearRuntimeApi ¶
func (impl GatewayApiServiceImpl) ClearRuntimeApi(dao *orm.GatewayRuntimeService) error
func (GatewayApiServiceImpl) Clone ¶
func (impl GatewayApiServiceImpl) Clone(ctx context.Context) micro_api.GatewayApiService
func (GatewayApiServiceImpl) CreateApi ¶
func (impl GatewayApiServiceImpl) CreateApi(req *gw.ApiReqDto) (apiId string, err error)
func (GatewayApiServiceImpl) CreateRuntimeApi ¶
func (impl GatewayApiServiceImpl) CreateRuntimeApi(dto *gw.ApiDto, session ...*db.SessionHelper) (string, StandardErrorCode, error)
func (GatewayApiServiceImpl) CreateUnitiyPackageShadowApi ¶
func (impl GatewayApiServiceImpl) CreateUnitiyPackageShadowApi(apiId, projectId, env, az string) error
func (GatewayApiServiceImpl) CreateUpstreamBindApi ¶
func (impl GatewayApiServiceImpl) CreateUpstreamBindApi(consumer *orm.GatewayConsumer, appName, srvName, runtimeServiceId string, upstreamApi *orm.GatewayUpstreamApi, aliasPath string) (string, error)
func (GatewayApiServiceImpl) DeleteApi ¶
func (impl GatewayApiServiceImpl) DeleteApi(apiId string) error
func (GatewayApiServiceImpl) DeleteUpstreamBindApi ¶
func (impl GatewayApiServiceImpl) DeleteUpstreamBindApi(upstreamApi *orm.GatewayUpstreamApi) error
func (GatewayApiServiceImpl) GetApiInfos ¶
func (impl GatewayApiServiceImpl) GetApiInfos(dto *gw.GetApisDto) (result *common.PageQuery, err error)
func (GatewayApiServiceImpl) GetRuntimeApis ¶
func (GatewayApiServiceImpl) TouchRuntimeApi ¶
func (impl GatewayApiServiceImpl) TouchRuntimeApi(dao *orm.GatewayRuntimeService, session *db.SessionHelper, newCreated bool) error
func (GatewayApiServiceImpl) UpdateApi ¶
func (impl GatewayApiServiceImpl) UpdateApi(apiId string, req *gw.ApiReqDto) (apiInfo *gw.ApiInfoDto, err error)
func (GatewayApiServiceImpl) UpdateUpstreamBindApi ¶
func (impl GatewayApiServiceImpl) UpdateUpstreamBindApi(consumer *orm.GatewayConsumer, appName, serviceName string, upstreamApi *orm.GatewayUpstreamApi, aliasPath string) error
Click to show internal directories.
Click to hide internal directories.