knowledgegraph

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package knowledge_graph to access knowledge_graph indexing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultKnowledgeGraphClient

type DefaultKnowledgeGraphClient struct {
	// contains filtered or unexported fields
}

func NewKnowledgeGraphClient

func NewKnowledgeGraphClient(serviceURL string, timeout time.Duration) (*DefaultKnowledgeGraphClient, error)

NewDefaultKnowledgeGraphClient creates a new client for the knowledge graph service. The serviceURL can be either a TCP URL (e.g., "http://localhost:8080") or a Unix socket URL (e.g., "unix:///var/run/service.sock").

func (*DefaultKnowledgeGraphClient) FullIndexRepository

func (c *DefaultKnowledgeGraphClient) FullIndexRepository(ctx context.Context, repositoryPath string, namespaceID uint64, repoID uint64, currentHash string, threads uint16) error

type KnowledgeGraphClient

type KnowledgeGraphClient interface {
	FullIndexRepository(ctx context.Context, repositoryPath string, namespaceID uint64, repoId uint64, currentHash string, threads uint16) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL