dummy

package
v0.0.0-...-eadad4f Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Protocol = "dummy"

Variables

This section is empty.

Functions

func NewClient

func NewClient(svc *service.Service, addr, nick, pass string, values stdchat.ValuesInfo) (service.Networker, error)

func NewService

func NewService(tp service.Transporter) *service.Service

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Close

func (client *Client) Close() error

func (*Client) Closed

func (client *Client) Closed() bool

func (*Client) CmdHandler

func (client *Client) CmdHandler(msg *stdchat.CmdMsg)

func (*Client) ConnID

func (client *Client) ConnID() string

func (*Client) Context

func (client *Client) Context() context.Context

func (*Client) GetStateInfo

func (client *Client) GetStateInfo() service.ClientStateInfo

func (*Client) Handler

func (client *Client) Handler(msg *stdchat.ChatMsg)

func (*Client) Logout

func (client *Client) Logout(reason string) error

func (*Client) NetworkID

func (client *Client) NetworkID() string

func (*Client) NetworkName

func (client *Client) NetworkName() string

func (*Client) Start

func (client *Client) Start(ctx context.Context, id string) error

func (*Client) UserID

func (client *Client) UserID() string

func (*Client) UserName

func (client *Client) UserName() string

Jump to

Keyboard shortcuts

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