code: func (p *Plugin) Init() (err error) {
  	redisCfg, err := p.getRedisConfig()
  	if err != nil || p.disabled {
  		return err
  	}
  
  	// Create client according to config
  	client, err := ConfigToClient(redisCfg)
  	if err != nil {
  		return err
  	}
  
  	// Uses config file to establish connection with the database
  	p.connection, err = NewBytesConnection(client, p.Log)
  	if err != nil {
  		return err
  	}
  	p.protoWrapper = kvproto.NewProtoWrapper(p.connection, &keyval.SerializerJSON{})
  
  	return nil
  }
docs: // Init retrieves redis configuration and establishes a new connection
  // with the redis data store.
  // If the configuration file doesn't exist or cannot be read, the returned errora
  // will be of os.PathError type. An untyped error is returned in case the file
  // doesn't contain a valid YAML configuration.