package
0.15.3-beta1
Repository: https://github.com/suborbital/reactr.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DefaultAuthProvider creates the default static auth provider.
DefaultCapabilityConfig returns the default all-enabled config (with a default logger).
DefaultConfigWithDB returns a capability config with a custom logger and database configured.
DefaultConfigWithLogger returns a capability config with a custom logger.
No description provided by the author
DefaultGraphQLClient creates a GraphQLClient object.
DefaultHTTPClient creates an HTTP client with no restrictions.
DefaultLoggerSource returns a LoggerSource that provides vlog.Default.
No description provided by the author
NewRequestHandler provides a handler for the given request.
NewSqlDatabase creates a new SQL database.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrCacheKeyNotFound is returned when a non-existent cache key is requested.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AuthConfig is a config for the default auth provider.
AuthHeader is an HTTP header designed to authenticate requests.
CacheConfig is configuration for the cache capability.
No description provided by the author
CapabilityConfig is configuration for a Runnable's capabilities NOTE: if any of the individual configs are nil, it will cause a crash, but we need to be able to determine if they're set or not, hence the pointers we are going to leave capabilities undocumented until we come up with a more elegant solution.
No description provided by the author
FileConfig is configuration for the File capability.
GraphQLConfig is configuration for the GraphQL capability.
GraphQLError is a GraphQL error.
GraphQLRequest is a request to a GraphQL endpoint.
GraphQLResponse is a GraphQL response.
HTTPConfig is configuration for the HTTP capability.
HTTPRules is a set of rules that governs use of the HTTP capability.
LoggerConfig is configuration for the logger capability.
No description provided by the author
No description provided by the author
No description provided by the author
RequestHandlerConfig is configuration for the request capability.
SqlDatabase is an SQL implementation of DatabaseCapability.

# Interfaces

AuthCapability is a provider for various kinds of auth.
CacheCapability gives Runnables access to a key/value cache.
No description provided by the author
FileCapability gives runnables access to various kinds of files.
GraphQLCapability is a GraphQL capability for Reactr Modules.
HTTPCapability gives Runnables the ability to make HTTP requests.
LoggerCapability provides a logger to Runnables.
RequestHandlerCapability allows runnables to handle HTTP requests.

# Type aliases

No description provided by the author
StaticFileFunc is a function that returns the contents of a requested file.