Versions in this module Expand all Collapse all v0 v0.2.11 Nov 4, 2025 Changes in this version + var File_runtime_data_cache_v1_cache_proto protoreflect.FileDescriptor + var File_runtime_data_cache_v1_memcached_proto protoreflect.FileDescriptor + var File_runtime_data_cache_v1_memory_proto protoreflect.FileDescriptor + var File_runtime_data_cache_v1_redis_proto protoreflect.FileDescriptor + type CacheConfig struct + CleanupInterval int64 + Customize *structpb.Struct + Driver string + Memcached *MemcachedConfig + Memory *MemoryConfig + Name string + Redis *RedisConfig + func (*CacheConfig) Descriptor() ([]byte, []int) + func (*CacheConfig) ProtoMessage() + func (m *CacheConfig) Validate() error + func (m *CacheConfig) ValidateAll() error + func (x *CacheConfig) GetCleanupInterval() int64 + func (x *CacheConfig) GetCustomize() *structpb.Struct + func (x *CacheConfig) GetDriver() string + func (x *CacheConfig) GetMemcached() *MemcachedConfig + func (x *CacheConfig) GetMemory() *MemoryConfig + func (x *CacheConfig) GetName() string + func (x *CacheConfig) GetRedis() *RedisConfig + func (x *CacheConfig) ProtoReflect() protoreflect.Message + func (x *CacheConfig) Reset() + func (x *CacheConfig) String() string + type CacheConfigMultiError []error + func (m CacheConfigMultiError) AllErrors() []error + func (m CacheConfigMultiError) Error() string + type CacheConfigValidationError struct + func (e CacheConfigValidationError) Cause() error + func (e CacheConfigValidationError) Error() string + func (e CacheConfigValidationError) ErrorName() string + func (e CacheConfigValidationError) Field() string + func (e CacheConfigValidationError) Key() bool + func (e CacheConfigValidationError) Reason() string + type MemcachedConfig struct + Addr string + MaxIdle int32 + Password string + Timeout int64 + Username string + func (*MemcachedConfig) Descriptor() ([]byte, []int) + func (*MemcachedConfig) ProtoMessage() + func (m *MemcachedConfig) Validate() error + func (m *MemcachedConfig) ValidateAll() error + func (x *MemcachedConfig) GetAddr() string + func (x *MemcachedConfig) GetMaxIdle() int32 + func (x *MemcachedConfig) GetPassword() string + func (x *MemcachedConfig) GetTimeout() int64 + func (x *MemcachedConfig) GetUsername() string + func (x *MemcachedConfig) ProtoReflect() protoreflect.Message + func (x *MemcachedConfig) Reset() + func (x *MemcachedConfig) String() string + type MemcachedConfigMultiError []error + func (m MemcachedConfigMultiError) AllErrors() []error + func (m MemcachedConfigMultiError) Error() string + type MemcachedConfigValidationError struct + func (e MemcachedConfigValidationError) Cause() error + func (e MemcachedConfigValidationError) Error() string + func (e MemcachedConfigValidationError) ErrorName() string + func (e MemcachedConfigValidationError) Field() string + func (e MemcachedConfigValidationError) Key() bool + func (e MemcachedConfigValidationError) Reason() string + type MemoryConfig struct + Capacity int32 + CleanupInterval int64 + Expiration int64 + Size int32 + func (*MemoryConfig) Descriptor() ([]byte, []int) + func (*MemoryConfig) ProtoMessage() + func (m *MemoryConfig) Validate() error + func (m *MemoryConfig) ValidateAll() error + func (x *MemoryConfig) GetCapacity() int32 + func (x *MemoryConfig) GetCleanupInterval() int64 + func (x *MemoryConfig) GetExpiration() int64 + func (x *MemoryConfig) GetSize() int32 + func (x *MemoryConfig) ProtoReflect() protoreflect.Message + func (x *MemoryConfig) Reset() + func (x *MemoryConfig) String() string + type MemoryConfigMultiError []error + func (m MemoryConfigMultiError) AllErrors() []error + func (m MemoryConfigMultiError) Error() string + type MemoryConfigValidationError struct + func (e MemoryConfigValidationError) Cause() error + func (e MemoryConfigValidationError) Error() string + func (e MemoryConfigValidationError) ErrorName() string + func (e MemoryConfigValidationError) Field() string + func (e MemoryConfigValidationError) Key() bool + func (e MemoryConfigValidationError) Reason() string + type RedisConfig struct + Addr string + Db int32 + DialTimeout int64 + IdleTimeout *int64 + MinIdleConns *int32 + Network string + Password string + PoolSize *int32 + PoolTimeout *int64 + ReadTimeout int64 + TlsCaCertFile *string + TlsClientCertFile *string + TlsClientKeyFile *string + TlsEnabled *bool + TlsInsecureSkipVerify *bool + WriteTimeout int64 + func (*RedisConfig) Descriptor() ([]byte, []int) + func (*RedisConfig) ProtoMessage() + func (m *RedisConfig) Validate() error + func (m *RedisConfig) ValidateAll() error + func (x *RedisConfig) GetAddr() string + func (x *RedisConfig) GetDb() int32 + func (x *RedisConfig) GetDialTimeout() int64 + func (x *RedisConfig) GetIdleTimeout() int64 + func (x *RedisConfig) GetMinIdleConns() int32 + func (x *RedisConfig) GetNetwork() string + func (x *RedisConfig) GetPassword() string + func (x *RedisConfig) GetPoolSize() int32 + func (x *RedisConfig) GetPoolTimeout() int64 + func (x *RedisConfig) GetReadTimeout() int64 + func (x *RedisConfig) GetTlsCaCertFile() string + func (x *RedisConfig) GetTlsClientCertFile() string + func (x *RedisConfig) GetTlsClientKeyFile() string + func (x *RedisConfig) GetTlsEnabled() bool + func (x *RedisConfig) GetTlsInsecureSkipVerify() bool + func (x *RedisConfig) GetWriteTimeout() int64 + func (x *RedisConfig) ProtoReflect() protoreflect.Message + func (x *RedisConfig) Reset() + func (x *RedisConfig) String() string + type RedisConfigMultiError []error + func (m RedisConfigMultiError) AllErrors() []error + func (m RedisConfigMultiError) Error() string + type RedisConfigValidationError struct + func (e RedisConfigValidationError) Cause() error + func (e RedisConfigValidationError) Error() string + func (e RedisConfigValidationError) ErrorName() string + func (e RedisConfigValidationError) Field() string + func (e RedisConfigValidationError) Key() bool + func (e RedisConfigValidationError) Reason() string