service

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddService

func AddService(name string, serv Service)

Types

type Message

type Message interface {
	GroupID() string
	UserName() string
	UserID() string
	Text() string
	UserType() string
}

type Service

type Service interface {
	PostText(key, text string)
	MessageFromJSON(reader io.Reader) Message
}

func NewService

func NewService(name string) *Service

Jump to

Keyboard shortcuts

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