model

package
v0.0.0-...-7553a0f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppMetadata

type AppMetadata struct {
	AppName string   `json:"appName" `
	Methods []string `json:"methods"`
}

type ConfTypeRequest

type ConfTypeRequest struct {
	ConfType    string `json:"confType" vd:"@:len($)>0; msg:'confType不能为空'"`
	ConfContent string `json:"confContent"`
}

type GatewayConfig

type GatewayConfig struct {
	AppId               string `json:"appId,required" column:"app_id" gorm:"primarykey" vd:"@:len($)>0; msg:'appId不能为空'"`
	AppName             string `json:"appName" column:"app_name"`
	AesKey              string `json:"aesKey" column:"aes_key"`
	AesType             string `json:"aesType" column:"aes_type"`
	RsaPublicKey        string `json:"rsaPublicKey" column:"rsa_public_key"`
	RsaPrivateKey       string `json:"rsaPrivateKey" column:"rsa_private_key"`
	SignType            string `json:"signType" column:"sign_type"`
	IsEnable            int    `json:"isEnable" column:"is_enable"`
	ClientRsaPrivateKey string `json:"clientRsaPrivateKey" column:"client_rsa_private_key"`
	ClientRsaPublicKey  string `json:"clientRsaPublicKey" column:"client_rsa_public_key"`
	CallbackUrl         string `json:"callbackUrl" column:"callback_url"`
}

func (*GatewayConfig) TableName

func (c *GatewayConfig) TableName() string

type GatewayConfigReq

type GatewayConfigReq struct {
	AppId     string `json:"appId,required"`
	PageIndex int64  `json:"pageIndex"`
	PageSize  int64  `json:"pageSize"`
}

type GatewayConfigResponse

type GatewayConfigResponse struct {
	Total  int64            `json:"total"`
	Models []*GatewayConfig `json:"models"`
}

type GatewayMethodDetail

type GatewayMethodDetail struct {
	SystemName     string `json:"systemName"`
	MethodName     string `json:"methodName"`
	MethodMetaInfo string `json:"methodMetaInfo"`
}

type GatewayMethodMetadata

type GatewayMethodMetadata struct {
	GatewayMethodName string `json:"gatewayMethodName"`
	InterfaceName     string `json:"interfaceName"`
	MethodName        string `json:"methodName"`
	ParameterTypeName string `json:"parameterTypeName"`
	RpcType           string `json:"rpcType"`
	Path              string `json:"path"`
	ContextPath       string `json:"contextPath"`
	AppName           string `json:"appName"`
}

func (*GatewayMethodMetadata) GetReferenceKey

func (gm *GatewayMethodMetadata) GetReferenceKey() string

type GatewayMethodRequest

type GatewayMethodRequest struct {
	PageIndex  int    `json:"pageIndex"`
	PageSize   int    `json:"pageSize"`
	MethodName string `json:"methodName"`
}

type GatewayMethodResponse

type GatewayMethodResponse struct {
	Total         int64                 `json:"total"`
	MethodDetails []GatewayMethodDetail `json:"methodDetails"`
}

type GatewaySystemConfig

type GatewaySystemConfig struct {
	SystemId   string `json:"systemId,required" column:"system_id" gorm:"primarykey" vd:"@:len($)>0; msg:'systemId不能为空'"`
	SystemName string `json:"systemName" column:"system_name"`
}

func (*GatewaySystemConfig) TableName

func (c *GatewaySystemConfig) TableName() string

type GatewaySystemReq

type GatewaySystemReq struct {
	SysId     string `json:"sysId,required"`
	PageIndex int64  `json:"pageIndex"`
	PageSize  int64  `json:"pageSize"`
}

type GatewaySystemResponse

type GatewaySystemResponse struct {
	Total  int64                  `json:"total"`
	Models []*GatewaySystemConfig `json:"models"`
}

type Response

type Response struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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