mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
20 lines
232 B
Go
20 lines
232 B
Go
![]() |
package kubernetes
|
||
|
|
||
|
type node struct {
|
||
|
id string
|
||
|
address string
|
||
|
port int
|
||
|
}
|
||
|
|
||
|
func (n *node) Id() string {
|
||
|
return n.id
|
||
|
}
|
||
|
|
||
|
func (n *node) Address() string {
|
||
|
return n.address
|
||
|
}
|
||
|
|
||
|
func (n *node) Port() int {
|
||
|
return n.port
|
||
|
}
|