provider

package
v0.0.0-...-73ce370 Latest Latest
Warning

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

Go to latest
Published: May 14, 2017 License: GPL-3.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	gp.TablesManagement

	Create(name string, creator user.User, members []user.User) (c *channel.Channel, err error)
	Find(toFind channel.Channel) (c *channel.Channel, err error)
	FindByName(u user.User, name string) (c *channel.Channel, err error)
	List(u user.User, offset int, limit int) (list map[string]*channel.Channel, err error)
	FindByID(ID int) (c *channel.Channel, err error)
}

Provider contains all the methods needed to manage channels

var P Provider

P is the selected provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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