handlers

package
v0.0.0-...-aaf8e14 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LambdaHandler

func LambdaHandler()

Types

type DistConfig

type DistConfig struct {
	Destinations []struct {
		Token string   `json:"token"`
		Host  string   `json:"host"`
		To    []string `json:"to"`
	} `json:"destinations"`
}

type JsonBody

type JsonBody struct {
	Success bool   `json:"success"`
	Type    string `json:"type"`
	Message string `json:"message"`
}

type Response

type Response struct {
	Status  int
	Headers map[string]string
	Body    JsonBody
}

Jump to

Keyboard shortcuts

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