conn

package
v0.0.0-...-dc78327 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillServer

func KillServer()

func SendAction

func SendAction(target, action, msg string, args ...string) chan Request

func SendText

func SendText(target, msg string) chan Request

func Serve

func Serve(address string) chan Request

Types

type Request

type Request struct {
	Message   string
	Action    string
	Arguments []string
	// contains filtered or unexported fields
}

func (*Request) Answer

func (s *Request) Answer(msg string)

func (*Request) Close

func (s *Request) Close()

func (*Request) FullAnswer

func (s *Request) FullAnswer(msg, action string, args ...string)

Jump to

Keyboard shortcuts

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