 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var ( Package__1i719d = &core.Package{ PackageName: "namespacelabs.dev/foundation/universe/db/redis", } Provider__1i719d = core.Provider{ Package: Package__1i719d, Instantiate: makeDeps__1i719d, } )
      View Source
      
  
var File_universe_db_redis_provider_proto protoreflect.FileDescriptor
    Functions ¶
func ProvideRedis ¶
func ProvideRedis(ctx context.Context, args *RedisArgs, deps ExtensionDeps) (*redis.Client, error)
Types ¶
type ExtensionDeps ¶
Dependencies that are instantiated once for the lifetime of the extension.
type RedisArgs ¶
type RedisArgs struct {
	Database int32 `protobuf:"varint,1,opt,name=database,proto3" json:"database,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*RedisArgs) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*RedisArgs) GetDatabase ¶
func (*RedisArgs) ProtoMessage ¶
func (*RedisArgs) ProtoMessage()
func (*RedisArgs) ProtoReflect ¶
func (x *RedisArgs) ProtoReflect() protoreflect.Message
 Click to show internal directories. 
   Click to hide internal directories.