Documentation
¶
Index ¶
- Constants
- type Config
- type ConfigUpdate
- type CreateResponse
- type Keyspace
- func (kspace *Keyspace) Check(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (kspace *Keyspace) Create(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (kspace *Keyspace) GetAll(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (keyspace Keyspace) GetKeyspace(key string) (Config, bool, gobol.Error)
- func (kspace *Keyspace) ListDC(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (kspace *Keyspace) Update(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- type Response
Constants ¶
View Source
const DefaultCompaction = "org.apache.cassandra.db.compaction.TimeWindowCompactionStrategy"
DefaultCompaction defines the default compaction strategy that cassandra will use for timeseries data
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type ConfigUpdate ¶
func (*ConfigUpdate) Validate ¶
func (c *ConfigUpdate) Validate() gobol.Error
type CreateResponse ¶
type CreateResponse struct {
Ksid string `json:"ksid,omitempty"`
}
type Keyspace ¶
type Keyspace struct {
// contains filtered or unexported fields
}
func (*Keyspace) Check ¶
func (kspace *Keyspace) Check(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Keyspace) Create ¶
func (kspace *Keyspace) Create(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Keyspace) GetAll ¶
func (kspace *Keyspace) GetAll(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (Keyspace) GetKeyspace ¶
func (*Keyspace) ListDC ¶
func (kspace *Keyspace) ListDC(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*Keyspace) Update ¶
func (kspace *Keyspace) Update(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Click to show internal directories.
Click to hide internal directories.