Directories
¶
Path | Synopsis |
---|---|
Package cmd is our cobra cli implementation
|
Package cmd is our cobra cli implementation |
Package config holds configuration stuff to configure the things
|
Package config holds configuration stuff to configure the things |
Package db provides an embedded filesystem containing all the database migrations
|
Package db provides an embedded filesystem containing all the database migrations |
internal
|
|
constants
Package constants contains constants used throughout the application
|
Package constants contains constants used throughout the application |
ent/entconfig
Package entconfig holds configuration stuff for the ent server
|
Package entconfig holds configuration stuff for the ent server |
ent/generated
Code generated by entfga, DO NOT EDIT.
|
Code generated by entfga, DO NOT EDIT. |
ent/hooks
Package hooks is middleware to alter the graphql mutation
|
Package hooks is middleware to alter the graphql mutation |
ent/hush
Package hush provides completely automatic field-level encryption for Ent schemas
|
Package hush provides completely automatic field-level encryption for Ent schemas |
ent/interceptors
Package interceptors is middleware to alter the graphql query
|
Package interceptors is middleware to alter the graphql query |
ent/mixin
Package mixin contains the mixin package
|
Package mixin contains the mixin package |
ent/privacy/rule
Package rule contains policy rules
|
Package rule contains policy rules |
ent/privacy/token
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up
|
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up |
ent/privacy/utils
Package utils is a helper for working with ent policies
|
Package utils is a helper for working with ent policies |
ent/schema
Code generated by entx.history, DO NOT EDIT.
|
Code generated by entx.history, DO NOT EDIT. |
entdb
Package entdb extends the ent db library and satisfies matt's needs for consistency
|
Package entdb extends the ent db library and satisfies matt's needs for consistency |
entitlements
Package entitlements provides internal functionality for managing entitlemnets via combinations of pkg/entitlements and pkg/catalog
|
Package entitlements provides internal functionality for managing entitlemnets via combinations of pkg/entitlements and pkg/catalog |
entitlements/entmapping
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application
|
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application |
entitlements/features
code generated by local feature mapping, DO NOT EDIT.
|
code generated by local feature mapping, DO NOT EDIT. |
graphapi
Package graphapi is the graph api package
|
Package graphapi is the graph api package |
graphapi/gqlerrors
Package gqlerrors is a wrapper to define custom errors for the GraphQL server
|
Package gqlerrors is a wrapper to define custom errors for the GraphQL server |
httpserve/authmanager
Package authmanager provides the authentication manager for the server to handle session issuance and validation
|
Package authmanager provides the authentication manager for the server to handle session issuance and validation |
httpserve/common
Package common provides common utilities and types used across the HTTP server package
|
Package common provides common utilities and types used across the HTTP server package |
httpserve/config
Package config holds the echo server configuration utilities
|
Package config holds the echo server configuration utilities |
httpserve/handlers
Package handlers contains custom handler functions
|
Package handlers contains custom handler functions |
httpserve/route
Package route will hold the routes and route groups
|
Package route will hold the routes and route groups |
httpserve/server
Package server contains the server functions
|
Package server contains the server functions |
httpserve/serveropts
Package serveropts contains an echo server options wrapper
|
Package serveropts contains an echo server options wrapper |
middleware/objects
Package objects provides the customizations for the object upload middleware
|
Package objects provides the customizations for the object upload middleware |
pkg
|
|
catalog
Package catalog provides the core functionality for managing and validating the catalog of products, features, and prices in the Openlane project
|
Package catalog provides the core functionality for managing and validating the catalog of products, features, and prices in the Openlane project |
catalog/gencatalog
Package gencatalog is the output of parsing the catalog file
|
Package gencatalog is the output of parsing the catalog file |
catalog/genjsonschema
Package genjsonschema generates JSON schema files from Go structs for use in validating catalogs
|
Package genjsonschema generates JSON schema files from Go structs for use in validating catalogs |
catalog/genyaml
Package main inside of genyaml generates Go source files from a catalog YAML file
|
Package main inside of genyaml generates Go source files from a catalog YAML file |
corejobs
Package corejobs holds jobs definitions for riverqueue that interact with the core api
|
Package corejobs holds jobs definitions for riverqueue that interact with the core api |
entitlements
Package entitlements is a wrapper package for the entitlements service and a basic stripe integration
|
Package entitlements is a wrapper package for the entitlements service and a basic stripe integration |
enums
Package enums has enums
|
Package enums has enums |
enums/exportenums
package exportenums generates the enums for the export types based on the entx annotation
|
package exportenums generates the enums for the export types based on the entx annotation |
events/soiree
Package soiree provides a simple event emitter that allows you to emit events and listen for them
|
Package soiree provides a simple event emitter that allows you to emit events and listen for them |
logx
Package logx is a package for logging with echo and
|
Package logx is a package for logging with echo and |
logx/consolelog
Package console log is a zerolog consolewriter output formatter that can be used generically with any zerolog instantiation so that it's not specific to a particular application
|
Package console log is a zerolog consolewriter output formatter that can be used generically with any zerolog instantiation so that it's not specific to a particular application |
metrics
Package metrics holds configuration and middleware for prometheus style metrics
|
Package metrics holds configuration and middleware for prometheus style metrics |
middleware
Package middleware provides middleware for http Handlers.
|
Package middleware provides middleware for http Handlers. |
middleware/auth
Package auth handles auth
|
Package auth handles auth |
middleware/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 |
middleware/cachecontrol
Package cachecontrol creates a cache control echo middleware
|
Package cachecontrol creates a cache control echo middleware |
middleware/cors
Package cors does cors stuff
|
Package cors does cors stuff |
middleware/csrf
Package CSRF provides middleware for handling Cross-Site Request Forgery (CSRF) protection in web applications
|
Package CSRF provides middleware for handling Cross-Site Request Forgery (CSRF) protection in web applications |
middleware/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 |
middleware/impersonation
Package impersonation provides middleware for handling user impersonation in HTTP requests.
|
Package impersonation provides middleware for handling user impersonation in HTTP requests. |
middleware/mime
Package mime does mime stuff
|
Package mime does mime stuff |
middleware/ratelimit
Package ratelimit implements a rate limiting middleware
|
Package ratelimit implements a rate limiting middleware |
middleware/ratelimiter
Package ratelimiter is a ratelimiter based on cloudflare's approach
|
Package ratelimiter is a ratelimiter based on cloudflare's approach |
middleware/redirect
Package redirect does redirect stuff
|
Package redirect does redirect stuff |
middleware/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 |
middleware/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 |
models
Package models provides http request and response structs
|
Package models provides http request and response structs |
objects
Package objects provides interfaces and helpers for management of objects (files) either received via our endpoints or created and stored by the system
|
Package objects provides interfaces and helpers for management of objects (files) either received via our endpoints or created and stored by the system |
objects/storage
Package storage provides basic storage interfaces for storage providers to write / read objects to and from
|
Package storage provides basic storage interfaces for storage providers to write / read objects to and from |
openlaneclient
Package openlaneclient contains the client to interact with the openlane server
|
Package openlaneclient contains the client to interact with the openlane server |
permissioncache
Package permissioncache handles permissioncache for things like features
|
Package permissioncache handles permissioncache for things like features |
slacktemplates
Package slacktemplates provides templates for Slack messages
|
Package slacktemplates provides templates for Slack messages |
ssoutils
Package ssoutils provides helper functionality for OIDC-based SSO integration, helping to bridge the gap between our choices on HTTP Server, token issuance, and overall SSO flow Several of the functions in this package are used to generate URLs for SSO login and callback due to limitations within echox not allowing for easy access to route paths
|
Package ssoutils provides helper functionality for OIDC-based SSO integration, helping to bridge the gap between our choices on HTTP Server, token issuance, and overall SSO flow Several of the functions in this package are used to generate URLs for SSO login and callback due to limitations within echox not allowing for easy access to route paths |
testutils
Package testutils provides utilities for use in tests
|
Package testutils provides utilities for use in tests |
Click to show internal directories.
Click to hide internal directories.