Directories ¶
Path | Synopsis |
---|---|
Package encoder contains data encoding and continuation token encoding implementations.
|
Package encoder contains data encoding and continuation token encoding implementations. |
Package encrypter contains data encryption implementations.
|
Package encrypter contains data encryption implementations. |
middleware
|
|
http
Package http contains utility functions to modify HTTP requests and responses
|
Package http contains utility functions to modify HTTP requests and responses |
logging
Package logging contains logging middleware
|
Package logging contains logging middleware |
requestid
Package requestid contains middleware to log the request ID.
|
Package requestid contains middleware to log the request ID. |
storeid
Package storeid contains middleware to log the store ID.
|
Package storeid contains middleware to log the store ID. |
validator
Package validator contains middleware that validates API input parameters.
|
Package validator contains middleware that validates API input parameters. |
Package server contains the endpoint handlers.
|
Package server contains the endpoint handlers. |
commands
Package commands contains the code that handles each endpoint.
|
Package commands contains the code that handles each endpoint. |
commands/reverseexpand
Package reverseexpand contains the code that handles the ReverseExpand API
|
Package reverseexpand contains the code that handles the ReverseExpand API |
errors
Package errors contains custom error codes that are sent to clients.
|
Package errors contains custom error codes that are sent to clients. |
health
Package health contains the service that check the health of an OpenFGA server.
|
Package health contains the service that check the health of an OpenFGA server. |
Package storage contains storage interfaces and implementations
|
Package storage contains storage interfaces and implementations |
memory
Package memory contains an implementation of the storage interface that lives in memory.
|
Package memory contains an implementation of the storage interface that lives in memory. |
mysql
Package mysql contains an implementation of the storage interface that works with MySQL.
|
Package mysql contains an implementation of the storage interface that works with MySQL. |
postgres
Package postgres contains an implementation of the storage interface that works with Postgres.
|
Package postgres contains an implementation of the storage interface that works with Postgres. |
sqlcommon
Package sqlcommon contains utility functions shared among all SQL data stores.
|
Package sqlcommon contains utility functions shared among all SQL data stores. |
storagewrappers
Package storagewrappers contains decorators for storage data
|
Package storagewrappers contains decorators for storage data |
Package telemetry contains code that emits telemetry (logging, metrics, tracing).
|
Package telemetry contains code that emits telemetry (logging, metrics, tracing). |
testfixtures
|
|
storage
Package storage contains containers that can be used to test all available data stores.
|
Package storage contains containers that can be used to test all available data stores. |
Package testutils contains code that is useful in tests.
|
Package testutils contains code that is useful in tests. |
Package tuple contains code to manipulate tuples and errors related to tuples.
|
Package tuple contains code to manipulate tuples and errors related to tuples. |
Package typesystem contains code to manipulate authorization models
|
Package typesystem contains code to manipulate authorization models |
Click to show internal directories.
Click to hide internal directories.