Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultElasticSearchEndpoint string = "elasticsearch:9200" DefaultChaincodeRESTEndpoint string = "chaincode-rest-service:9090" DefaultGetDataContractTypesPath string = "/queries/getDataContractTypesAfterTimeStamp" DefaultGetDataContractTypesPageSize int = 100 DataContractTypesIndex string = "dataContractType" DefaultTimestampFile string = "/var/run/esfeeder/datacontracttypes" DefaultTimestamp string = "0000-01-01T00:00:00.000Z" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainRestConfig ¶
type ChainRestConfig struct {
Endpoint string
}
type Config ¶
type Config struct { Authorization string IdxConfig IndicesConfig ESConfig ElasticSearchConfig CCConfig ChainRestConfig }
type ElasticSearchConfig ¶
type ElasticSearchConfig struct {
Endpoint string
}
type FeedDataRequest ¶
type FeedDataRequest struct {
Bulk []Data `json: "bulk"`
}
type FeedDataResponse ¶
type GetDataContractTypesResponse ¶
type GetDataContractTypesResponse struct { Response []resources.DataContractType `json:"response"` ResponseMetadata []ResponseMetadata `json:"ResponseMetadata` Error string `json:"error"` }
type IndicesConfig ¶
type ResponseMetadata ¶
type ResponseMetadata struct {
ResponseMetadata Metadata `json:"ResponseMetadata"`
}
Click to show internal directories.
Click to hide internal directories.