Documentation ¶
Index ¶
- Constants
- func InitializeDatabase(ctx context.Context, databaseConnected chan struct{}, ...)
- func InitializeMetrics(ctx context.Context) *metric.MeterProvider
- func InitializeStorage(ctx context.Context, storageConnected chan struct{}, ...)
- func RegisterAllGrpcServices(grpcServer *grpc.Server)
- func StartGrpcServer(grpcServerStarted chan struct{}, grpcServerStopped chan struct{})
- type Storage
Constants ¶
View Source
const MongoDBUriEnv = "MONGODB_URI"
View Source
const MongoDbDatabaseNameEnv = "MONGODB_DATABASE"
View Source
const MongoDbTimeoutEnv = "MONGODB_CONNECTIONTIMEOUT"
View Source
const OtelMetricEndpointEnv = "OTEL_EXPORTER_OTLP_METRICS_ENDPOINT"
View Source
const PersistentVolumePathEnv = "STORAGE_PERSISTENT_VOLUME_PATH"
View Source
const ServiceNameEnv = "OTEL_SERVICE_NAME"
View Source
const StorageTypeEnv = "STORAGE_TYPE"
Variables ¶
This section is empty.
Functions ¶
func InitializeDatabase ¶ added in v0.0.2
func InitializeMetrics ¶ added in v0.0.2
func InitializeMetrics(ctx context.Context) *metric.MeterProvider
func InitializeStorage ¶ added in v0.0.16
func RegisterAllGrpcServices ¶
func StartGrpcServer ¶
func StartGrpcServer(grpcServerStarted chan struct{}, grpcServerStopped chan struct{})
Types ¶
Click to show internal directories.
Click to hide internal directories.