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.

          Source Files