Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { // Database AddDatabase(*store.InMemory) GetDatabase() (*store.InMemory, error) }
Context is more or less a less-generic context store to use in place of a generic context store since golang doesnt support generics (yet?).
type Matrix ¶
Matrix implements the Router and Context interface. TODO: This is a shortcut implementation of "Matrix" since we are only supporting identity services and not the entire matrix protocol. We should consider moving this down the folder tree somewhere to make more sense
func (*Matrix) AddDatabase ¶
AddDatabase allows another thing to add a store.InMemory database to use. TODO: Support multiple databases?
func (*Matrix) GetDatabase ¶
GetDatabase returns the database context.
Click to show internal directories.
Click to hide internal directories.