0b3930272d
Using NodeIdentity to share the indexes with both.
11 lines
250 B
Go
11 lines
250 B
Go
package structs
|
|
|
|
// Identity of some entity (ex: service, node, check).
|
|
//
|
|
// TODO: this type should replace ServiceID, ServiceName, and CheckID which all
|
|
// have roughly identical implementations.
|
|
type Identity struct {
|
|
ID string
|
|
EnterpriseMeta
|
|
}
|