p

package module
v0.0.0-...-7a39869 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 6 Imported by: 0

README

soracom-notify

接地 or 明暗 or 磁石にてドアの開閉を取得
SORACOM Button Plus -> SORACOM インターフェースに通信
指定デバイスへ通知

Usage

  • SORACOM Funk
  • Google Cloud Functions(Golang)

Auther

@_numbP

License

MIT

Documentation

Overview

Package p contains an HTTP Cloud Function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMailInterface

func SendMailInterface(w http.ResponseWriter, r *http.Request)

HelloWorld prints the JSON encoded "message" field in the body of the request or "Hello, World!" if there isn't one.

Types

type Gmail

type Gmail struct {
	From     string
	Username string
	// Password is password/appword
	Password string
	To       string
	Subject  string
	Message  string
}

func (Gmail) Endpoint

func (g Gmail) Endpoint() string

func (Gmail) MaxChars

func (g Gmail) MaxChars() string

func (Gmail) Send

func (g Gmail) Send() error

Jump to

Keyboard shortcuts

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