extractor

package module
v0.0.0-...-801861a Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2015 License: MIT Imports: 3 Imported by: 29

README

extractor

Simple hack to perform extraction of links

Apps Present:

+ vidler
Present in `cmd/vidler`

An app that extracts mp4 videos and allows you to download them.

Make sure to set in your env:

`VIDLER_PUB_KEY`
`VIDLER_PRIV_KEY`

The keys should be set, to enable HMAC signing and protect your
site's downloader from being abused say by malicious agents.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvKey

type EnvKey struct {
	PubKeyAlias  string
	PrivKeyAlias string
}

type KeySet

type KeySet struct {
	PublicKey  string
	PrivateKey string
}

func KeySetFromEnv

func KeySetFromEnv(e *EnvKey) *KeySet

func (*KeySet) Match

func (ks *KeySet) Match(message, messageMAC []byte) bool

func (*KeySet) Sign

func (ks *KeySet) Sign(message []byte) []byte

Jump to

Keyboard shortcuts

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