Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "Imports"
ServiceName is the name of the service as defined in the design. This is the same value that is set in the endpoint request contexts under the ServiceKey key.
Variables ¶
View Source
var MethodNames = [1]string{"List"}
MethodNames lists the service method names as defined in the design. These are the same values that are set in the endpoint request contexts under the MethodKey key.
Functions ¶
func NewListEndpoint ¶
NewListEndpoint returns an endpoint function that calls the method "List" of service "Imports".
Types ¶
type Client ¶
Client is the "Imports" service client.
type Endpoints ¶
Endpoints wraps the "Imports" service endpoints.
func NewEndpoints ¶
NewEndpoints wraps the methods of the "Imports" service with endpoints.
type Import ¶
type Import struct { // Unique ID for the import ID int // Subscription ID, associating this import to a specific subscription SubscriptionID string // Postgres table schema Schema string // Postgres table name TableName string // Import was completed at this time CompletedAt *string // Import was created at this time CreatedAt string // Import was last updated at this time UpdatedAt string // Import was expired at this time ExpiredAt *string // Last import error Error *string // Count of error attempts ErrorCount int // Timestamp of last error, only reset on error LastErrorAt *string // Count of rows processed RowsProcessedTotal int64 }
Import job for a Postgres table
Click to show internal directories.
Click to hide internal directories.