Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EncryptionKey (0.06 sec)

  1. cmd/admin-handlers-site-replication.go

    		return
    	}
    }
    
    func parseJSONBody(ctx context.Context, body io.Reader, v interface{}, encryptionKey string) error {
    	data, err := io.ReadAll(body)
    	if err != nil {
    		return SRError{
    			Cause: err,
    			Code:  ErrSiteReplicationInvalidRequest,
    		}
    	}
    	if encryptionKey != "" {
    		data, err = madmin.DecryptData(encryptionKey, bytes.NewReader(data))
    		if err != nil {
    			return SRError{
    				Cause: err,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top