Discover Packages
github.com/rbastic/go-schemaless
examples
schemalessd
pkg
api
package
Version:
v0.0.0-...-4406380
Opens a new window with list of versions in this module.
Published: Oct 14, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type FindPartitionRequest struct {
Store string `json:"store"`
Table string `json:"table"`
RowKey string `json:"rowKey"`
}
type FindPartitionResponse struct {
PartitionNumber int `json:"partitionNumber"`
Error string `json:"error,omitempty"`
Success bool `json:"success"`
}
type GetLatestRequest struct {
Store string `json:"store"`
Table string `json:"table"`
RowKey string `json:"rowKey"`
ColumnKey string `json:"columnKey"`
}
type GetLatestResponse struct {
Error string `json:"error,omitempty"`
Success bool `json:"success"`
Found bool `json:"found"`
Cell models .Cell `json:"cell"`
}
type GetRequest struct {
Store string `json:"store"`
Table string `json:"table"`
RowKey string `json:"rowKey"`
ColumnKey string `json:"columnKey"`
RefKey int64 `json:"refKey"`
}
type GetResponse struct {
Error string `json:"error,omitempty"`
Success bool `json:"success"`
Found bool `json:"found"`
Cell models .Cell `json:"cell"`
}
type PartitionReadRequest struct {
Store string `json:"store"`
Table string `json:"table"`
PartitionNumber int `json:"partitionNumber"`
Location string `json:"location"`
Value string `json:"value"`
Limit int `json:"limit"`
}
type PartitionReadResponse struct {
Error string `json:"error,omitempty"`
Success bool `json:"success"`
Found bool `json:"found"`
Cells []models .Cell `json:"cells"`
}
type PutRequest struct {
Store string `json:"store"`
Table string `json:"table"`
RowKey string `json:"rowKey"`
ColumnKey string `json:"columnKey"`
RefKey int64 `json:"refKey"`
Body string `json:"body"`
}
PutRequest is for issuing Put() calls to the Schemaless data store
type PutResponse struct {
Error string `json:"error,omitempty"`
Success bool `json:"success"`
}
PutResponse specifies the response for a Put operation
type StatusResponse struct {
Error string `json:"error,omitempty"`
Success bool `json:"success"`
}
StatusResponse contains a simplified health response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.