domain

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

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addressable

type Addressable struct {
	Id       bson.ObjectId `bson:"_id,omitempty" json:"id"`
	Name     string        `json:"name"`
	Protocol string        `json:"protocol"`
	Address  string        `json:"address"`
	Port     int           `json:"port"`
	Path     string        `json:"path"`

	Publisher string `json:"publisher"`
	User      string `json:"user"`
	Password  string `json:"password"`
	Topic     string `json:"topic"`
}

type Gateway

type Gateway struct {
	Id          bson.ObjectId `bson:"_id,omitempty" json:"id"`
	Name        string        `json:"name"`
	Description string        `json:"description"`
	Address     string        `json:"address"`
	Created     int64         `bson:"created" json:"created"`
	Modified    int64         `bson:"modified" json:"modified"`
}

type User

type User struct {
	Id       bson.ObjectId `bson:"_id,omitempty" json:"id"`
	Name     string        `json:"name"`
	Password string        `json:"password"`
	Created  int64         `bson:"created" json:"created"`
	Modified int64         `bson:"modified" json:"modified"`
}

Jump to

Keyboard shortcuts

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