chanmgr

package
v0.0.0-...-9648343 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	AddTarget(id, login string, con map[string]string)
	RemoveTarget(id, login string)
}

func MultiExecute

func MultiExecute(args ...Executor) Executor

type MultiExecutor

type MultiExecutor []Executor

func (MultiExecutor) AddTarget

func (me MultiExecutor) AddTarget(id, login string, con map[string]string)

AddTarget handles the request to add a channel as active target.

func (MultiExecutor) RemoveTarget

func (me MultiExecutor) RemoveTarget(id, login string)

RemoveTarget handles the request to remove a channel as active target.

type User

type User struct {
	ID, Login string
}

Jump to

Keyboard shortcuts

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