Documentation ¶
Overview ¶
Code generated with models.txt DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Case ¶
type Case struct { Name string DB map[string]interface{} FQFields []string FQIDs []string UserID *int `yaml:"user_id"` MeetingID int `yaml:"meeting_id"` Permission string Payload map[string]interface{} Action string IsAllowed *bool `yaml:"is_allowed"` CanSee []string `yaml:"can_see"` // TODO: fix nil != undefined CanNotSee []string `yaml:"can_not_see"` Cases []*Case // contains filtered or unexported fields }
Case object for testing.
type DatastoreServer ¶
DatastoreServer simulates the Datastore-Service. Only the methods required by the permission-service are supported. This is currently only the getMany method.
Has to be created with NewDatastoreServer.
func NewDatastoreServer ¶
func NewDatastoreServer(data map[string]json.RawMessage) *DatastoreServer
NewDatastoreServer creates a new DatastoreServer.
Directories ¶
Path | Synopsis |
---|---|
This tool generates the list fields of every collection.
|
This tool generates the list fields of every collection. |
Click to show internal directories.
Click to hide internal directories.