Versions in this module Expand all Collapse all v0 v0.2.0 Feb 24, 2019 Changes in this version + type V2 struct + func NewV2(opts V2Options, ipfs rtfs.Manager, ia images.TensorflowAnalyzer, ...) (*V2, error) + func NewV2WithEngine(opts V2Options, ipfs rtfs.Manager, ia images.TensorflowAnalyzer, ...) *V2 + func (v *V2) Close() + func (v *V2) Index(ctx context.Context, req *lensv2.IndexReq) (*lensv2.IndexResp, error) + func (v *V2) Remove(ctx context.Context, req *lensv2.RemoveReq) (*lensv2.RemoveResp, error) + func (v *V2) Search(ctx context.Context, req *lensv2.SearchReq) (*lensv2.SearchResp, error) + type V2Options struct + Engine engine.Opts + TesseractConfigPath string v0.1.0 Dec 11, 2018 Changes in this version + type APIOpts struct + IP string + Port string + type ConfigOpts struct + API APIOpts + DataStorePath string + ModelsPath string + TesseractConfigPath string + UseChainAlgorithm bool + type Object struct + ContentHash string + LensID uuid.UUID + type Service struct + func NewService(opts ConfigOpts, cfg config.TemporalConfig, rm rtfs.Manager, ...) (*Service, error) + func (s *Service) Get(keyname string) ([]byte, error) + func (s *Service) KeywordSearch(keywords []string) ([]models.Object, error) + func (s *Service) Magnify(hash string, reindex bool) (metadata *models.MetaData, err error) + func (s *Service) Store(name string, meta *models.MetaData) (*Object, error) + func (s *Service) Update(id uuid.UUID, name string, meta *models.MetaData) (*Object, error)