query

package
v0.1.74 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	*agent.Resolver
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(db store.DB, agentResolver *agent.Resolver) *Resolver

func (*Resolver) Connection

func (r *Resolver) Connection(ctx context.Context, id string) (c *model.Pairwise, err error)

func (*Resolver) Connections

func (r *Resolver) Connections(ctx context.Context, after, before *string, first, last *int) (c *model.PairwiseConnection, err error)

func (*Resolver) Credential

func (r *Resolver) Credential(ctx context.Context, id string) (c *model.Credential, err error)

func (*Resolver) Credentials

func (r *Resolver) Credentials(
	ctx context.Context,
	after, before *string,
	first, last *int,
) (c *model.CredentialConnection, err error)

func (*Resolver) Endpoint

func (r *Resolver) Endpoint(ctx context.Context, payload string) (i *model.InvitationResponse, err error)

func (*Resolver) Event

func (r *Resolver) Event(ctx context.Context, id string) (e *model.Event, err error)

func (*Resolver) Events

func (r *Resolver) Events(ctx context.Context, after, before *string, first, last *int) (e *model.EventConnection, err error)

func (*Resolver) Job

func (r *Resolver) Job(ctx context.Context, id string) (e *model.Job, err error)

func (*Resolver) Jobs

func (r *Resolver) Jobs(
	ctx context.Context,
	after, before *string,
	first, last *int,
	completed *bool,
) (e *model.JobConnection, err error)

func (*Resolver) Message

func (r *Resolver) Message(ctx context.Context, id string) (c *model.BasicMessage, err error)

func (*Resolver) Proof

func (r *Resolver) Proof(ctx context.Context, id string) (c *model.Proof, err error)

func (*Resolver) User

func (r *Resolver) User(ctx context.Context) (u *model.User, err error)

Jump to

Keyboard shortcuts

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