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
Click to show internal directories.
Click to hide internal directories.