Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct { Decoder Decoder Service UserGetter }
func (*Authenticator) Authenticate ¶
func (a *Authenticator) Authenticate(next papernet.HandlerFunc) papernet.HandlerFunc
type Team ¶
type Team struct { ID int `json:"id"` Name string `json:"name"` Members []TeamMember `json:"members"` CanSee []int `json:"canSee"` CanEdit []int `json:"canEdit"` }
type TeamMember ¶
type TeamRepository ¶
type User ¶
type UserGetter ¶
Click to show internal directories.
Click to hide internal directories.