pkg/

directory
v0.0.0-...-7abf5e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: Apache-2.0

Directories

Path Synopsis
Package analytics offers central-server system analytics
Package analytics offers central-server system analytics
machine
Package machine provides a basic wrapper for getting machine ID
Package machine provides a basic wrapper for getting machine ID
posthog
Package posthog contains posthog helper functions and utilities
Package posthog contains posthog helper functions and utilities
Package auth handles auth
Package auth handles auth
Package cache holds the library for interacting with redis
Package cache holds the library for interacting with redis
Package keygen provides functionality for generating API client IDs and secrets
Package keygen provides functionality for generating API client IDs and secrets
Package middleware provides middleware for http Handlers.
Package middleware provides middleware for http Handlers.
auth
Package auth handles auth
Package auth handles auth
authtest
Package authtest is a mini server and token generator with a mock test to confirm keygen works correctly; not intended to test the whole api but rather just the token issuance and authentication
Package authtest is a mini server and token generator with a mock test to confirm keygen works correctly; not intended to test the whole api but rather just the token issuance and authentication
cachecontrol
Package cachecontrol creates a cache control echo middleware
Package cachecontrol creates a cache control echo middleware
cors
Package cors does cors stuff
Package cors does cors stuff
debug
Package debug contains utility helper functions for debugging when working with echo server
Package debug contains utility helper functions for debugging when working with echo server
echocontext
Package echocontext adds the echo context to the parent context
Package echocontext adds the echo context to the parent context
mime
Package mime does mime stuff
Package mime does mime stuff
ratelimit
Package ratelimit implements a rate limiting middleware
Package ratelimit implements a rate limiting middleware
redirect
Package redirect does redirect stuff
Package redirect does redirect stuff
secure
Package secure is middleware that provides protection against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks
Package secure is middleware that provides protection against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks
sentry
Package sentry is a middleware package for sentry integration
Package sentry is a middleware package for sentry integration
transaction
Package transaction implements a transaction middleware for REST endpoints using the ent db client
Package transaction implements a transaction middleware for REST endpoints using the ent db client
Package otelx provides configuration options for various OpenTelemetry integrations.
Package otelx provides configuration options for various OpenTelemetry integrations.
Package passwd provides fancy crypto shit for passwords
Package passwd provides fancy crypto shit for passwords
providers
github
Package github provides GitHub OAuth2 login and callback handlers.
Package github provides GitHub OAuth2 login and callback handlers.
google
Package google provides Google OAuth2 login and callback handlers.
Package google provides Google OAuth2 login and callback handlers.
oauth2
Package oauth2 provides handlers for OAuth2 login and callback requests.
Package oauth2 provides handlers for OAuth2 login and callback requests.
oidc
Package oidc provides oidc authentication helpers and flow
Package oidc provides oidc authentication helpers and flow
webauthn
Package webauthn is a provider package offering Passkey login functionality
Package webauthn is a provider package offering Passkey login functionality
Package rout is a semi-centralized method of handling and surfacing user facing errors
Package rout is a semi-centralized method of handling and surfacing user facing errors
Package sessions manages users sessions
Package sessions manages users sessions
Package testutils provides utilities for use in tests
Package testutils provides utilities for use in tests
Package tokens creates tokenmanager, responsible for signing, issuing, and validating tokens
Package tokens creates tokenmanager, responsible for signing, issuing, and validating tokens
utils
cli/rows
Package rows makes CLI output pretty
Package rows makes CLI output pretty
cli/tables
Package tables is a collection of functions that generate tables for the CLI
Package tables is a collection of functions that generate tables for the CLI
cli/useragent
Package useragent is a utility package for generating the user agent string for the CLI
Package useragent is a utility package for generating the user agent string for the CLI
dumper
Package dumper is a utility package for dumping http request contents
Package dumper is a utility package for dumping http request contents
emails
Package emails contains all of the logic and templating for sending emails within the central-server services - it is built to allow for other email providers other than sendgrid if required but is mostly specific to sendgrid as that's our email provider of choice.
Package emails contains all of the logic and templating for sending emails within the central-server services - it is built to allow for other email providers other than sendgrid if required but is mostly specific to sendgrid as that's our email provider of choice.
emails/mock
Package mock provides intermediary data structures to assist in testing and debugging sending an email without actually sending the email - testing the creation and sending of email typically requires some kind of tracking of what was sent or not and metadata about the message which is what is setup here
Package mock provides intermediary data structures to assist in testing and debugging sending an email without actually sending the email - testing the creation and sending of email typically requires some kind of tracking of what was sent or not and metadata about the message which is what is setup here
gravatar
Package gravatar generates random avatar images for users or organizations on sign up which they can override with their own avatars
Package gravatar generates random avatar images for users or organizations on sign up which they can override with their own avatars
marionette
Package marionette is a golang based task manager with scheduling, backoff, future scheduling built in.
Package marionette is a golang based task manager with scheduling, backoff, future scheduling built in.
pdf
pdf/invoice
nolint: gomnd
nolint: gomnd
sendgrid
Package sendgrid is a utiliuty package for interfacing with Sendgrid, a third party transactional email provider
Package sendgrid is a utiliuty package for interfacing with Sendgrid, a third party transactional email provider
sentry
Package sentry is a helper package for sentry integration
Package sentry is a helper package for sentry integration
slice
Package sliceutil contains utilities for working with slices in Go
Package sliceutil contains utilities for working with slices in Go
sqlite
Package sqlite implements a connect hook around the sqlite3 driver so that the underlying connection can be fetched from the driver for more advanced operations such as backups.
Package sqlite implements a connect hook around the sqlite3 driver so that the underlying connection can be fetched from the driver for more advanced operations such as backups.
storage
Package storage provides a methods and interfaces to access various storage systems and objects
Package storage provides a methods and interfaces to access various storage systems and objects
storage/fs
Package fs provides a storage implementation for the local filesystem
Package fs provides a storage implementation for the local filesystem
storage/gcs
Package gcs provides a storage implementation for GCS
Package gcs provides a storage implementation for GCS
storage/s3
Package s3 provides a storage implementation for S3
Package s3 provides a storage implementation for S3
totp
Package totp provides code generation for TOTP (RFC 6238) and HOTP (RFC 4226)
Package totp provides code generation for TOTP (RFC 6238) and HOTP (RFC 4226)
ulids
Package ulids is a lightweight wrapper around the github.com/oklog/ulid package that provides some common functionality (like checking if a ULID is null or is zero) as well as a process-global, cryptographically random, monotonic, and thread-safe ulid generation mechanism that can be used from external packages
Package ulids is a lightweight wrapper around the github.com/oklog/ulid package that provides some common functionality (like checking if a ULID is null or is zero) as well as a process-global, cryptographically random, monotonic, and thread-safe ulid generation mechanism that can be used from external packages
viperconfig
Package viperconfig is a fancy interface allowing you to bind viper commands in your individual packages without having to make some insane monolithic file Credit goes to the stacklok folks: https://github.com/stacklok/minder/blob/main/internal/util/configutils.go TO DO: convert allthethings over to using utils.BindConfigFlag()
Package viperconfig is a fancy interface allowing you to bind viper commands in your individual packages without having to make some insane monolithic file Credit goes to the stacklok folks: https://github.com/stacklok/minder/blob/main/internal/util/configutils.go TO DO: convert allthethings over to using utils.BindConfigFlag()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL