Directories ¶
Path | Synopsis |
---|---|
Package encoder provides implementations for data encoding and continuation token encoding.
|
Package encoder provides implementations for data encoding and continuation token encoding. |
Package encrypter contains data encryption implementations.
|
Package encrypter contains data encryption implementations. |
Package gateway provides implementations to send data through the transport (e.g.
|
Package gateway provides implementations to send data through the transport (e.g. |
Package logger contains logging implementations.
|
Package logger contains logging implementations. |
middleware
|
|
http
Package http contains middleware and utility functions to modify HTTP requests and responses.
|
Package http contains middleware and 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 inject and manage request id context.
|
Package requestid contains middleware to inject and manage request id context. |
storeid
Package storeid contains middleware to inject and manage the store ID context.
|
Package storeid contains middleware to inject and manage the store ID context. |
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 implementations.
|
Package storagewrappers contains decorators for storage implementations. |
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.