Documentation ¶
Index ¶
- type MUXRPCHandler
- func (h *MUXRPCHandler) HandleCall(ctx context.Context, req *muxrpc.Request)
- func (h *MUXRPCHandler) HandleConnect(ctx context.Context, e muxrpc.Endpoint)
- func (MUXRPCHandler) Handled(m muxrpc.Method) bool
- func (h *MUXRPCHandler) Loop(ctx context.Context, tx *muxrpc.ByteSink, rx *muxrpc.ByteSource, ...)
- type Plugin
- type Sessions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MUXRPCHandler ¶
type MUXRPCHandler struct { Sessions Sessions // contains filtered or unexported fields }
func (*MUXRPCHandler) HandleCall ¶
func (h *MUXRPCHandler) HandleCall(ctx context.Context, req *muxrpc.Request)
HandleCall handles the server side (getting called by client)
func (*MUXRPCHandler) HandleConnect ¶
func (h *MUXRPCHandler) HandleConnect(ctx context.Context, e muxrpc.Endpoint)
HandleConnect does nothing. Feature negotiation is done by sbot
func (MUXRPCHandler) Handled ¶
func (MUXRPCHandler) Handled(m muxrpc.Method) bool
type Plugin ¶
type Plugin struct{ *MUXRPCHandler }
func NewPlug ¶
func NewPlug( i logging.Interface, self refs.FeedRef, rootLog margaret.Log, uf multilog.MultiLog, fm *gossip.FeedManager, sm *statematrix.StateMatrix, v *message.VerificationRouter, ) *Plugin
type Sessions ¶
type Sessions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.