requestmanager

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "common.commonspace.requestmanager"

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageHandler

type MessageHandler interface {
	HandleMessage(ctx context.Context, hm objectsync.HandleMessage) (err error)
}

type RequestManager

type RequestManager interface {
	app.ComponentRunnable
	SendRequest(ctx context.Context, peerId string, msg *spacesyncproto.ObjectSyncMessage) (reply *spacesyncproto.ObjectSyncMessage, err error)
	QueueRequest(peerId string, msg *spacesyncproto.ObjectSyncMessage) (err error)
}

func New

func New() RequestManager

Jump to

Keyboard shortcuts

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