command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChatworkDomain string = "chatwork.com"
View Source
var IDLength = 9

Functions

func CmdAll

func CmdAll(c *cli.Context)

func CmdRoom

func CmdRoom(c *cli.Context)

func CmdSend

func CmdSend(c *cli.Context)

func CmdWatch

func CmdWatch(c *cli.Context)

CmdWatch execute watch chatwork api

func NewWatchAPI

func NewWatchAPI(duration int) (*watchAPI, error)

Types

type RoomMessages

type RoomMessages struct {
	Name     string
	Messages []chatwork.Message
}

type Rooms

type Rooms []chatwork.Room

sort Sticky > UnreadNum > lastUpdateTime

func (Rooms) Len

func (r Rooms) Len() int

func (Rooms) Less

func (r Rooms) Less(i, j int) bool

func (Rooms) Swap

func (r Rooms) Swap(i, j int)

Jump to

Keyboard shortcuts

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