Versions in this module Expand all Collapse all v4 v4.1.0 Jul 6, 2021 v4.0.0 Oct 3, 2020 Changes in this version + type PluginHelper struct + RPCTarget string + RPCToken string + func NewHelper(target string, rpctoken string) (*PluginHelper, error) + func (h *PluginHelper) HTTPClient() (rpc.HTTPPluginClient, error) + func (h *PluginHelper) HTTPClientWithContext(ctx context.Context) (rpc.HTTPPluginClient, error) + func (h *PluginHelper) IRCClient() (rpc.IRCPluginClient, error) + func (h *PluginHelper) IRCClientWithContext(ctx context.Context) (rpc.IRCPluginClient, error) + func (h *PluginHelper) Ping() error + func (h *PluginHelper) PingWithContext(ctx context.Context) error + func (h *PluginHelper) RegisterChannelMessageHandler(channel string, handler func(message *rpc.ChannelMessage)) error + func (h *PluginHelper) RegisterChannelMessageHandlerWithContext(ctx context.Context, channel string, handler func(message *rpc.ChannelMessage)) error + func (h *PluginHelper) RegisterWebhook(path string, handler func(request *rpc.HttpRequest) *rpc.HttpResponse) error + func (h *PluginHelper) RegisterWebhookWithContext(ctx context.Context, path string, ...) error + func (h *PluginHelper) SendChannelMessage(channel string, messages ...string) error + func (h *PluginHelper) SendChannelMessageWithContext(ctx context.Context, channel string, messages ...string) error + func (h *PluginHelper) SendRawMessage(messages ...string) error + func (h *PluginHelper) SendRawMessageWithContext(ctx context.Context, messages ...string) error Other modules containing this package github.com/greboid/irc-bot/v5