package
0.10.3
Repository: https://github.com/cscfi/qvain-api.git
Documentation: pkg.go.dev

# Functions

ConfigFromEnv creates the application configuration by reading in environment variables.
No description provided by the author
No description provided by the author
No description provided by the author
MakeSessionHandlerForFairdata is a callback function for the OIDC callback handler to glue token data and our own database to create a user session.
NewApiProxy creates a reverse web proxy that uses HTTP Basic Authentication.
NewApis constructs a collection of APIs with a given configuration.
NewAuthApi sets up external authentication services such as OpenID Connect endpoints.
No description provided by the author
NewLookupApi sets up a lookup API.
NewQueryParser creates a new QueryParser for a query.
NewSessionApi creates a new SessionApi.
NewStatsApi creates a new StatsApi.
Root configures a http.Handler for routing HTTP requests to the root URL.
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

# Constants

linux/capability.h.
DefaultIdentity is the user identity to show to the outside world.
No description provided by the author
http server setup.
timeouts.
No description provided by the author
service name, used for instance in logs.

# Variables

FairdataTokenProjectPrefixes are used to identify IDA projects from group_names field.

# Structs

ApiProxy is a reverse proxy.
Apis holds configured API endpoints.
AuthApi holds authentication handlers configured for this application.
Config holds the configuration for the application.
No description provided by the author
LookupApi holds the configuration for the lookup API.
QueryParser provides helper functions for converting query parameters into Go types.
SessionApi allows users to access their session information.
StatsApi provides statistics for Qvain.