spark

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2018 License: BSD-2-Clause Imports: 7 Imported by: 4

Documentation

Index

Constants

View Source
const (
	Text messageType = iota
	Markdown
	Html
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(token, room string, messageType messageType) (*Client, error)

func (*Client) Get

func (c *Client) Get(n int) ([]string, error)

func (*Client) Write

func (c *Client) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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