Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSchema ¶
DecodeSchema takes JSON stream (io.Reader - mainly http request body) and tries to decode it into pilosa.Schema. The function returns also a map: index-name -> if-not-exists option, so we can swallow "conflict" error in case of creating an index with the name as existing one.
func IngestJSON ¶
Types ¶
type ErrDuplicateElement ¶
type ErrDuplicateElement struct {
// Elem is the duplicated element.
Elem interface{}
}
ErrDuplicateElement is an error indicating that an element was included in a set multiple times.
func (ErrDuplicateElement) Error ¶
func (err ErrDuplicateElement) Error() string
Click to show internal directories.
Click to hide internal directories.