group

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	id.ActorExistenceChecker
	// List returns a list of groups in the system
	List() []*group.Group

	// Add stores a group in the system
	Add(group *group.Group) error

	// Get returns the group with the given ID
	Get(groupID id.ActorID) (*group.Group, bool, error)
}

Store provides an interface for storing and retrieving groups

func GetStore

func GetStore() Store

GetStore returns a Store that can be used to store and retrieve groups

Jump to

Keyboard shortcuts

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