Documentation ¶
Index ¶
Constants ¶
View Source
const ( SaveData = "SaveData" QueryData = "QueryData" KeepaliveQuery = "KeepaliveQuery" CRYPTO_PATH = "./crypto/" ErrRequestBody = "request body error" ErrMarshalRequest = "marshaljson request error" ErrInvoke = "invoke func error" ErrQuery = "query func error" PeerFailed = 601 OrdererFailed = 602 KafkaNormal = 603 KafkaConfigFailed = 604 KafkaConnectionFailed = 605 KafkaBrokerAbnormal = 606 LogModuleInvalid = 607 LogModuleSetError = 608 Success = "Success" ParameterError = "901" PermissionNotFound = "902" ValueOfKeyNil = "903" NoPermission = "904" Other = "905" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { Key string `json:"key" binding:"required"` //业务key Value string `json:"value" binding:"required"` // 业务数据 Expand1 string `json:"expand1,omitempty"` // 扩展字段1 Expand2 string `json:"expand2,omitempty"` // 扩展地段2 }
Factory struct
func (Factory) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Factory) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Factory) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Factory) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type QueryUserInfo ¶
type QueryUserInfoRespone ¶
type ResData ¶
type ResData struct { ResCode int `json:"resCode"` //错误码0:成功1:失败 ResMsg string `json:"resMsg"` //错误信息 }
func (ResData) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (ResData) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*ResData) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ResData) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type SaveUserInfoRespone ¶
type SaveUserInfoRespone struct { UserBaseInfo ResponseCode string `json:"responsecode"` //返回码 ResponseExplain string `json:"responseexplain"` //返回码信息 }
type UserBaseInfo ¶
type UserBaseInfo struct { Key string `json:"key"` // 业务key BusinessType string `json:"businessType"` // 业务类型 默认Import0001 DataType string `json:"dataType"` // 业务数据类型 WriteRoleType string `json:"writeRoleType"` // 写入数据角色类型 Writer string `json:"writer"` // 写入人id Version string `json:"version"` // 数据版本号 }
Click to show internal directories.
Click to hide internal directories.