handler

package
v0.0.0-...-4fa03f3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//EmailAuthHeader is the header name for getting the auth from a request
	EmailAuthHeader = "Authorization"
	//EmailAuthEnvKey the key name for auth token
	EmailAuthEnvKey = "EMAIL_AUTH"
)

Variables

This section is empty.

Functions

func EmailAuthMiddleware

func EmailAuthMiddleware(next http.Handler) http.Handler

EmailAuthMiddleware checks all requests

func Router

Router returns the root http Handler

Types

type AttendeeInfo

type AttendeeInfo struct {
	Address sdk.AccAddress              `json:"address"`
	Profile *eventbrite.AttendeeProfile `json:"attendee"`

	// private key information
	CosmosPrivateKey string `json:"cosmos_private_key"`
	RSAPrivateKey    string `json:"rsa_private_key"`
	RSAPublicKey     string `json:"rsa_public_key"`

	// needed to claim the attendee account
	CommitmentSecret string          `json:"commitment_secret"`
	Commitment       util.Commitment `json:"commitment"`

	ImageUploadURL string `json:"image_upload_url"`
}

AttendeeInfo -

Jump to

Keyboard shortcuts

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