Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ClientHandler ¶
type ClientHandler func(w http.ResponseWriter, r *http.Request) error
type IndexFunc ¶
type IndexFunc func(indexerDB tmdb.Batch, block *tm.Block, blockId *tm.BlockID, evc *mantlemint.EventCollector) error
func CreateIndexer ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func NewIndexer ¶
func (*Indexer) RegisterIndexerService ¶
func (*Indexer) RegisterRESTRoute ¶
func (idx *Indexer) RegisterRESTRoute(router *mux.Router, registerer RESTRouteRegisterer)
func (*Indexer) Run ¶
func (idx *Indexer) Run(block *tm.Block, blockId *tm.BlockID, evc *mantlemint.EventCollector) error
type RESTRouteRegisterer ¶
func CreateRESTRoute ¶
func CreateRESTRoute(registerer RESTRouteRegisterer) RESTRouteRegisterer
Click to show internal directories.
Click to hide internal directories.