Documentation ¶
Index ¶
- type BatchCreateConfigRequest
- type BatchCreateConfigResponse
- type ClientConfigurations
- func (c ClientConfigurations) BatchCreateConfig(req BatchCreateConfigRequest, ...) (resp *BatchCreateConfigResponse, err error)
- func (c ClientConfigurations) CheckService()
- func (c ClientConfigurations) CreateConfig(req CreateConfigRequest, ...) (resp *CreateConfigResponse, err error)
- func (c ClientConfigurations) GetConfigurations(req GetConfigurationsRequest, ...) (resp *GetConfigurationsResponse, err error)
- func (ClientConfigurations) MarshalDefaults(v interface{})
- func (c ClientConfigurations) Swagger(metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *SwaggerResponse, err error)
- type ClientConfigurationsInterface
- type Configuration
- type ConfigurationList
- type CreateConfigRequest
- type CreateConfigResponse
- type CreateConfigurationBody
- type ErrorField
- type ErrorFields
- type GetConfigurationResult
- type GetConfigurationsRequest
- type GetConfigurationsResponse
- type JSONBytes
- type MySQLTimestamp
- type OperateTime
- type PrimaryID
- type SoftDelete
- type StatusError
- type SwaggerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateConfigRequest ¶
type BatchCreateConfigRequest struct { // Body []CreateConfigurationBody `fmt:"json" in:"body"` }
type BatchCreateConfigResponse ¶
type BatchCreateConfigResponse struct { Meta github_com_johnnyeven_libtools_courier.Metadata Body []byte }
type ClientConfigurations ¶
type ClientConfigurations struct {
github_com_johnnyeven_libtools_courier_client.Client
}
func (ClientConfigurations) BatchCreateConfig ¶
func (c ClientConfigurations) BatchCreateConfig(req BatchCreateConfigRequest, metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *BatchCreateConfigResponse, err error)
func (ClientConfigurations) CheckService ¶
func (c ClientConfigurations) CheckService()
func (ClientConfigurations) CreateConfig ¶
func (c ClientConfigurations) CreateConfig(req CreateConfigRequest, metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *CreateConfigResponse, err error)
func (ClientConfigurations) GetConfigurations ¶
func (c ClientConfigurations) GetConfigurations(req GetConfigurationsRequest, metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *GetConfigurationsResponse, err error)
func (ClientConfigurations) MarshalDefaults ¶
func (ClientConfigurations) MarshalDefaults(v interface{})
func (ClientConfigurations) Swagger ¶
func (c ClientConfigurations) Swagger(metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *SwaggerResponse, err error)
type ClientConfigurationsInterface ¶
type ClientConfigurationsInterface interface { BatchCreateConfig(req BatchCreateConfigRequest, metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *BatchCreateConfigResponse, err error) CreateConfig(req CreateConfigRequest, metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *CreateConfigResponse, err error) GetConfigurations(req GetConfigurationsRequest, metas ...github_com_johnnyeven_libtools_courier.Metadata) (resp *GetConfigurationsResponse, err error) }
type Configuration ¶
type Configuration struct { // PrimaryID // OperateTime // SoftDelete // 业务ID ConfigurationID uint64 `json:"configurationID,string"` // Key Key string `json:"key"` // StackID StackID uint64 `json:"stackID,string"` // Value Value string `json:"value"` }
type ConfigurationList ¶
type ConfigurationList []Configuration
type CreateConfigRequest ¶
type CreateConfigRequest struct { // Body CreateConfigurationBody `fmt:"json" in:"body"` }
type CreateConfigResponse ¶
type CreateConfigResponse struct { Meta github_com_johnnyeven_libtools_courier.Metadata Body []byte }
type CreateConfigurationBody ¶
type ErrorField ¶
type ErrorField = github_com_johnnyeven_libtools_courier_status_error.ErrorField
type ErrorFields ¶
type ErrorFields = github_com_johnnyeven_libtools_courier_status_error.ErrorFields
type GetConfigurationResult ¶
type GetConfigurationResult struct { // Data ConfigurationList `json:"data"` // Total int32 `json:"total"` }
type GetConfigurationsResponse ¶
type GetConfigurationsResponse struct { Meta github_com_johnnyeven_libtools_courier.Metadata Body GetConfigurationResult }
type JSONBytes ¶
type JSONBytes = github_com_johnnyeven_libtools_courier_swagger.JSONBytes
type MySQLTimestamp ¶
type MySQLTimestamp = github_com_johnnyeven_libtools_timelib.MySQLTimestamp
type OperateTime ¶
type OperateTime = github_com_johnnyeven_libtools_sqlx_presets.OperateTime
type PrimaryID ¶
type PrimaryID = github_com_johnnyeven_libtools_sqlx_presets.PrimaryID
type SoftDelete ¶
type SoftDelete = github_com_johnnyeven_libtools_sqlx_presets.SoftDelete
type StatusError ¶
type StatusError = github_com_johnnyeven_libtools_courier_status_error.StatusError
type SwaggerResponse ¶
type SwaggerResponse struct { Meta github_com_johnnyeven_libtools_courier.Metadata Body JSONBytes }
Click to show internal directories.
Click to hide internal directories.