mutation

package
v0.1.143 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 11 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
	*update.Updater
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(
	db store.DB,
	agencyInstance agency.Agency,
	agentResolver *agent.Resolver,
	updater *update.Updater,
) *Resolver

func (*Resolver) Connect

func (r *Resolver) Connect(ctx context.Context, input model.ConnectInput) (res *model.Response, err error)

func (*Resolver) Invite

func (r *Resolver) Invite(ctx context.Context) (res *model.InvitationResponse, err error)

func (*Resolver) MarkEventRead

func (r *Resolver) MarkEventRead(ctx context.Context, input model.MarkReadInput) (e *model.Event, err error)

func (*Resolver) Resume

func (r *Resolver) Resume(ctx context.Context, input model.ResumeJobInput) (res *model.Response, err error)

func (*Resolver) SendMessage

func (r *Resolver) SendMessage(ctx context.Context, input model.MessageInput) (res *model.Response, err error)

Jump to

Keyboard shortcuts

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