group

package
v2.0.0-rc5+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: GPL-3.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Name         string
	Description  string
	Visibility   visibility.Visibility
	Members      map[string]user.User
	CreationDate time.Time
}

Group represents a group with its information in the system

func NewGroup

func NewGroup(name, description string, visibility visibility.Visibility, members map[string]user.User) Group

NewGroup creates a new group

func (Group) ID

func (g Group) ID() id.ActorID

ID returns a groups id struct

Jump to

Keyboard shortcuts

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