Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
ListenAndServe creates a new indexing service HTTP server, and starts it up.
Types ¶
type Option ¶
type Option func(*config)
func WithIdentity ¶
WithIdentity specifies the server DID.
func WithService ¶
type Service ¶
type Service interface { CacheClaim(ctx context.Context, claim delegation.Delegation) error PublishClaim(ctx context.Context, claim delegation.Delegation) error Query(ctx context.Context, q service.Query) (queryresult.QueryResult, error) }
Click to show internal directories.
Click to hide internal directories.