group

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: GPL-3.0 Imports: 5 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 {
	// 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 string) (*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