url

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package url provide AWS compatible url encoding and decoding funtions. AWS requires that the CopySource arg to the CopyObject* s3 api calls are 'url encoded'.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(s string) (string, error)

Decode decodes Amazon compatible encoded urls.

func Encode

func Encode(s string) string

Encode does uri encoding in an Amazon compatible way.

Types

type EscapeError

type EscapeError string

EscapeError provides a custom url escape related error type.

func (EscapeError) Error

func (e EscapeError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL