Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authn ¶
type Authn struct { Enabled bool `mapstructure:"enabled"` Method string `mapstructure:"method"` Oidc Oidc `mapstructure:"oidc"` }
Authn -.
type Cache ¶ added in v0.3.1
type Cache struct { NumberOfCounters int64 `mapstructure:"number_of_counters"` MaxCost string `mapstructure:"max_cost"` }
Cache -.
type Config ¶
type Config struct { Server `mapstructure:"server"` Log `mapstructure:"logger"` Profiler `mapstructure:"profiler"` Authn `mapstructure:"authn"` Tracer `mapstructure:"tracer"` Meter `mapstructure:"meter"` Service `mapstructure:"service"` Database `mapstructure:"database"` }
Config -
type Database ¶
type Database struct { Engine string `mapstructure:"engine"` URI string `mapstructure:"uri"` AutoMigrate bool `mapstructure:"auto_migrate"` MaxOpenConnections int `mapstructure:"max_open_connections"` MaxIdleConnections int `mapstructure:"max_idle_connections"` MaxConnectionLifetime time.Duration `mapstructure:"max_connection_lifetime"` MaxConnectionIdleTime time.Duration `mapstructure:"max_connection_idle_time"` }
Database -.
type HTTP ¶
type HTTP struct { Enabled bool `mapstructure:"enabled"` Port string `mapstructure:"port"` TLSConfig TLSConfig `mapstructure:"tls"` CORSAllowedOrigins []string `mapstructure:"cors_allowed_origins"` CORSAllowedHeaders []string `mapstructure:"cors_allowed_headers"` }
HTTP -.
type Meter ¶ added in v0.2.1
type Meter struct { Enabled bool `mapstructure:"enabled"` Exporter string `mapstructure:"exporter"` Endpoint string `mapstructure:"endpoint"` }
Meter -.
type Permission ¶ added in v0.3.1
type Permission struct { ConcurrencyLimit int `mapstructure:"concurrency_limit"` Cache Cache `mapstructure:"cache"` }
Permission -.
type Service ¶
type Service struct { CircuitBreaker bool `mapstructure:"circuit_breaker"` Schema Schema `mapstructure:"schema"` Permission Permission `mapstructure:"permission"` Relationship Relationship `mapstructure:"relationship"` }
Service -.
Click to show internal directories.
Click to hide internal directories.