Documentation ¶
Index ¶
- func ReceiveFileHandler(req *filePL.Request_Receive, api coreiface.CoreAPI, stream network.Stream, ...)
- func ReceiveMetaHandler(req *filePL.Request_Meta, api coreiface.CoreAPI, stream network.Stream, ...)
- func RequestHandler(ctx context.Context, api coreiface.CoreAPI, stream network.Stream)
- func SendFileHandler(req *filePL.Request_Send, api coreiface.CoreAPI, stream network.Stream, ...)
- type BeastPlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReceiveFileHandler ¶
func ReceiveMetaHandler ¶
func RequestHandler ¶
func SendFileHandler ¶
Types ¶
type BeastPlugin ¶
type BeastPlugin struct { }
func (*BeastPlugin) Close ¶
func (*BeastPlugin) Close() error
func (*BeastPlugin) Init ¶
func (*BeastPlugin) Init(env *plugin.Environment) error
Init initializes plugin, satisfying the plugin.Plugin interface. Put any initialization logic here.
func (*BeastPlugin) Name ¶
func (*BeastPlugin) Name() string
Name returns the plugin's name, satisfying the plugin.Plugin interface.
func (*BeastPlugin) Version ¶
func (*BeastPlugin) Version() string
Version returns the plugin's version, satisfying the plugin.Plugin interface.
Click to show internal directories.
Click to hide internal directories.