Documentation
¶
Index ¶
Constants ¶
View Source
const (
Namespace = "Outpost"
)
Variables ¶
View Source
var (
ErrMismatchedServiceType = errors.New("service type mismatch")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Service ServiceType
Port int
Hostname string
APIKey string
JWTSecret string
EncryptionSecret string
PortalProxyURL string
Topics []string
Redis *redis.RedisConfig
ClickHouse *clickhouse.ClickHouseConfig
OpenTelemetry *otel.OpenTelemetryConfig
PublishQueueConfig *mqs.QueueConfig
DeliveryQueueConfig *mqs.QueueConfig
LogQueueConfig *mqs.QueueConfig
PublishMaxConcurrency int
DeliveryMaxConcurrency int
LogMaxConcurrency int
RetryIntervalSeconds int
RetryMaxCount int
}
type Flags ¶
func ParseFlags ¶
func ParseFlags() Flags
type ServiceType ¶
type ServiceType int
const ( ServiceTypeSingular ServiceType = iota ServiceTypeAPI ServiceTypeLog ServiceTypeDelivery )
func ServiceTypeFromString ¶
func ServiceTypeFromString(s string) (ServiceType, error)
func (ServiceType) String ¶
func (s ServiceType) String() string
Click to show internal directories.
Click to hide internal directories.