message

package
v0.0.0-...-081aa00 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(r *mux.Router, service Service)

Types

type Message

type Message struct {
	Sender  string `json:"sender"`
	Email   string `json:"email"`
	Message string `json:"message"`
}

type Service

type Service interface {
	Send(m Message) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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