Discover Packages
github.com/edgexfoundry/edgex-ui-go
internal
domain
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Apr 22, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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 struct {
Username string `json:"username"`
Password string `json:"password"`
}
type Gateway struct {
Id bson .ObjectId `bson:"_id,omitempty" json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Address string `json:"address"`
Health bool `json:"health"`
Created int64 `bson:"created" json:"created"`
Modified int64 `bson:"modified" json:"modified"`
}
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"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.