domain

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 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 Addressable

type Addressable struct {
	Id       string `json:"id,omitempty"`
	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 Credential

type Credential struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

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