domain

package
v0.0.0-...-40fc3ee Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	ID      string    `json:"id"`
	Service string    `json:"service"`
	Topic   string    `json:"topic"`
	Body    string    `json:"body"`
	Date    time.Time `json:"timestamp"`
}

Notification ...

func NewNotification

func NewNotification(service, topic, body string) *Notification

NewNotification creates a new Notification!

Jump to

Keyboard shortcuts

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