signer

package
v0.0.0-...-58cc386 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package signer provides a signer type that signs Mechanical Turk requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer []byte

Signer signs AWS Mechanical Turk requests. The byte array representation is the AWS secret access key.

func New

func New(key string) Signer

New returns a new signer for the secret access key.

func (Signer) Sign

func (s Signer) Sign(service, operation, timestamp string) string

Sign returns a signature based on the service, operation and timestamp.

Jump to

Keyboard shortcuts

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