gql

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 65 Imported by: 4

Documentation

Index

Constants

View Source
const DummyDealsDir = "/tmp/dummy"
View Source
const DummyDealsPrefix = "dummy"

Variables

View Source
var DummyDealsBase string

Functions

Types

type BlockGetter added in v1.7.0

type BlockGetter interface {
	Get(context.Context, cid.Cid) (blocks.Block, error)
}

type IndexStatus added in v1.2.0

type IndexStatus string
const (
	IndexStatusUnknown    IndexStatus = ""
	IndexStatusNotFound   IndexStatus = "NotFound"
	IndexStatusRegistered IndexStatus = "Registered"
	IndexStatusComplete   IndexStatus = "Complete"
	IndexStatusFailed     IndexStatus = "Failed"
)

type Server

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

func NewServer

func NewServer(resolver *resolver, bstore BlockGetter) *Server

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

func (*Server) Stop

func (s *Server) Stop(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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