Versions in this module Expand all Collapse all v0 v0.2.11 Nov 4, 2025 Changes in this version + var File_runtime_data_database_v1_database_proto protoreflect.FileDescriptor + var File_runtime_data_database_v1_document_proto protoreflect.FileDescriptor + var File_runtime_data_database_v1_migration_proto protoreflect.FileDescriptor + var File_runtime_data_database_v1_mongo_proto protoreflect.FileDescriptor + type DatabaseConfig struct + ConnectionMaxIdleTime int64 + ConnectionMaxLifetime int64 + Customize *structpb.Struct + Debug bool + Dialect string + EnableMetrics bool + EnableTrace bool + MaxIdleConnections int32 + MaxOpenConnections int32 + Migration *Migration + Name string + Source string + func (*DatabaseConfig) Descriptor() ([]byte, []int) + func (*DatabaseConfig) ProtoMessage() + func (m *DatabaseConfig) Validate() error + func (m *DatabaseConfig) ValidateAll() error + func (x *DatabaseConfig) GetConnectionMaxIdleTime() int64 + func (x *DatabaseConfig) GetConnectionMaxLifetime() int64 + func (x *DatabaseConfig) GetCustomize() *structpb.Struct + func (x *DatabaseConfig) GetDebug() bool + func (x *DatabaseConfig) GetDialect() string + func (x *DatabaseConfig) GetEnableMetrics() bool + func (x *DatabaseConfig) GetEnableTrace() bool + func (x *DatabaseConfig) GetMaxIdleConnections() int32 + func (x *DatabaseConfig) GetMaxOpenConnections() int32 + func (x *DatabaseConfig) GetMigration() *Migration + func (x *DatabaseConfig) GetName() string + func (x *DatabaseConfig) GetSource() string + func (x *DatabaseConfig) ProtoReflect() protoreflect.Message + func (x *DatabaseConfig) Reset() + func (x *DatabaseConfig) String() string + type DatabaseConfigMultiError []error + func (m DatabaseConfigMultiError) AllErrors() []error + func (m DatabaseConfigMultiError) Error() string + type DatabaseConfigValidationError struct + func (e DatabaseConfigValidationError) Cause() error + func (e DatabaseConfigValidationError) Error() string + func (e DatabaseConfigValidationError) ErrorName() string + func (e DatabaseConfigValidationError) Field() string + func (e DatabaseConfigValidationError) Key() bool + func (e DatabaseConfigValidationError) Reason() string + type DocumentConfig struct + Customize *structpb.Struct + Mongo *MongoConfig + Name string + Type string + func (*DocumentConfig) Descriptor() ([]byte, []int) + func (*DocumentConfig) ProtoMessage() + func (m *DocumentConfig) Validate() error + func (m *DocumentConfig) ValidateAll() error + func (x *DocumentConfig) GetCustomize() *structpb.Struct + func (x *DocumentConfig) GetMongo() *MongoConfig + func (x *DocumentConfig) GetName() string + func (x *DocumentConfig) GetType() string + func (x *DocumentConfig) ProtoReflect() protoreflect.Message + func (x *DocumentConfig) Reset() + func (x *DocumentConfig) String() string + type DocumentConfigMultiError []error + func (m DocumentConfigMultiError) AllErrors() []error + func (m DocumentConfigMultiError) Error() string + type DocumentConfigValidationError struct + func (e DocumentConfigValidationError) Cause() error + func (e DocumentConfigValidationError) Error() string + func (e DocumentConfigValidationError) ErrorName() string + func (e DocumentConfigValidationError) Field() string + func (e DocumentConfigValidationError) Key() bool + func (e DocumentConfigValidationError) Reason() string + type Migration struct + Enabled bool + Mode string + Names []string + Path string + Version string + func (*Migration) Descriptor() ([]byte, []int) + func (*Migration) ProtoMessage() + func (m *Migration) Validate() error + func (m *Migration) ValidateAll() error + func (x *Migration) GetEnabled() bool + func (x *Migration) GetMode() string + func (x *Migration) GetNames() []string + func (x *Migration) GetPath() string + func (x *Migration) GetVersion() string + func (x *Migration) ProtoReflect() protoreflect.Message + func (x *Migration) Reset() + func (x *Migration) String() string + type MigrationMultiError []error + func (m MigrationMultiError) AllErrors() []error + func (m MigrationMultiError) Error() string + type MigrationValidationError struct + func (e MigrationValidationError) Cause() error + func (e MigrationValidationError) Error() string + func (e MigrationValidationError) ErrorName() string + func (e MigrationValidationError) Field() string + func (e MigrationValidationError) Key() bool + func (e MigrationValidationError) Reason() string + type MongoConfig struct + AuthSource bool + ConnectTimeout int64 + Database string + MaxPoolSize int32 + MinPoolSize int32 + Password string + Uri string + Username string + func (*MongoConfig) Descriptor() ([]byte, []int) + func (*MongoConfig) ProtoMessage() + func (m *MongoConfig) Validate() error + func (m *MongoConfig) ValidateAll() error + func (x *MongoConfig) GetAuthSource() bool + func (x *MongoConfig) GetConnectTimeout() int64 + func (x *MongoConfig) GetDatabase() string + func (x *MongoConfig) GetMaxPoolSize() int32 + func (x *MongoConfig) GetMinPoolSize() int32 + func (x *MongoConfig) GetPassword() string + func (x *MongoConfig) GetUri() string + func (x *MongoConfig) GetUsername() string + func (x *MongoConfig) ProtoReflect() protoreflect.Message + func (x *MongoConfig) Reset() + func (x *MongoConfig) String() string + type MongoConfigMultiError []error + func (m MongoConfigMultiError) AllErrors() []error + func (m MongoConfigMultiError) Error() string + type MongoConfigValidationError struct + func (e MongoConfigValidationError) Cause() error + func (e MongoConfigValidationError) Error() string + func (e MongoConfigValidationError) ErrorName() string + func (e MongoConfigValidationError) Field() string + func (e MongoConfigValidationError) Key() bool + func (e MongoConfigValidationError) Reason() string