rpc

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0, MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilParams = fmt.Errorf("shuttle message had nil params")

Functions

This section is empty.

Types

type IManager

type IManager interface {
	Connect(ws *websocket.Conn, handle string, done chan struct{}) (func() error, func(), error)
	SendRPCMessage(ctx context.Context, handle string, cmd *rpcevent.Command) error
	GetShuttleConnections() []*websocketeng.Connection
	GetShuttleConnection(handle string) (*websocketeng.Connection, bool)
	GetTransferStatus(dealID uint) (*filclient.ChannelState, error)
}

func NewEstuaryRpcManager

func NewEstuaryRpcManager(ctx context.Context, db *gorm.DB, cfg *config.Estuary, log *zap.SugaredLogger, sanitycheckMgr sanitycheck.IManager, cntQueueMgr contentqueue.IQueueManager) (IManager, error)

Directories

Path Synopsis
engines

Jump to

Keyboard shortcuts

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