Documentation ¶
Index ¶
- type AddCountryReqDTO
- type AddCountryResDTO
- type DeleteCountryReqDTO
- type DeleteCountryResDTO
- type GetCountryReqDTO
- type GetCountryResDTO
- type ListCountryResDTO
- type RefreshCountryIndexerReqDTO
- type RefreshCountryIndexerResDTO
- type SearchCountryIndexerReqDTO
- type SearchCountryIndexerResDTO
- type UpdateCountryDataDTO
- type UpdateCountryKeysDTO
- type UpdateCountryReqDTO
- type UpdateCountryResDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCountryReqDTO ¶
type AddCountryReqDTO struct {
domSchema.AddCountryRequest
}
AddCountryReqDTO represent AddCountryReqDTO
type AddCountryResDTO ¶
type AddCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
AddCountryResDTO represent AddCountryResDTO
type DeleteCountryReqDTO ¶
type DeleteCountryReqDTO struct {
domSchema.DeleteCountryRequest
}
DeleteCountryReqDTO represent DeleteCountryReqDTO
type DeleteCountryResDTO ¶
type DeleteCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
DeleteCountryResDTO represent DeleteCountryResDTO
func (*DeleteCountryResDTO) ToJSON ¶
func (r *DeleteCountryResDTO) ToJSON() []byte
ToJSON covert to JSON
type GetCountryReqDTO ¶
type GetCountryReqDTO struct {
domSchema.GetDetailCountryRequest
}
GetCountryReqDTO represent GetCountryReqDTO
type GetCountryResDTO ¶
type GetCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
GetCountryResDTO represent GetCountryResDTO
type ListCountryResDTO ¶
type ListCountryResDTO struct { Query interface{} `json:"query"` Data []*domSchema.Country `json:"data"` }
ListCountryResDTO represent ListCountryResDTO
func (*ListCountryResDTO) ToJSON ¶
func (r *ListCountryResDTO) ToJSON() []byte
ToJSON covert to JSON
type RefreshCountryIndexerReqDTO ¶ added in v0.2.2
type RefreshCountryIndexerReqDTO struct {
domSchema.RefreshCountryIndexerRequest
}
RefreshCountryIndexerReqDTO represent RefreshCountryIndexerReqDTO
type RefreshCountryIndexerResDTO ¶ added in v0.2.2
type RefreshCountryIndexerResDTO struct {
domSchema.RefreshCountryIndexerResponse
}
RefreshCountryIndexerResDTO represent RefreshCountryIndexerResDTO
func (*RefreshCountryIndexerResDTO) ToJSON ¶ added in v0.2.2
func (r *RefreshCountryIndexerResDTO) ToJSON() []byte
ToJSON covert to JSON
type SearchCountryIndexerReqDTO ¶ added in v0.2.2
type SearchCountryIndexerReqDTO struct {
domSchema.SearchCountryIndexerRequest
}
SearchCountryIndexerReqDTO represent SearchCountryIndexerReqDTO
type SearchCountryIndexerResDTO ¶ added in v0.2.2
type SearchCountryIndexerResDTO struct {
domSchema.SearchCountryIndexerResponse
}
SearchCountryIndexerResDTO represent SearchCountryIndexerResDTO
func (*SearchCountryIndexerResDTO) ToJSON ¶ added in v0.2.2
func (r *SearchCountryIndexerResDTO) ToJSON() []byte
ToJSON covert to JSON
type UpdateCountryDataDTO ¶
type UpdateCountryDataDTO domSchema.UpdateCountryData
type UpdateCountryKeysDTO ¶
type UpdateCountryKeysDTO domSchema.UpdateCountryKeys
type UpdateCountryReqDTO ¶
type UpdateCountryReqDTO struct { Keys *UpdateCountryKeysDTO `json:"keys"` Data *UpdateCountryDataDTO `json:"data"` }
UpdateCountryReqDTO represent UpdateCountryReqDTO
type UpdateCountryResDTO ¶
type UpdateCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
UpdateCountryResDTO represent UpdateCountryResDTO
func (*UpdateCountryResDTO) ToJSON ¶
func (r *UpdateCountryResDTO) ToJSON() []byte
ToJSON covert to JSON