ServerExpr contains a single API host information.
| 19 | type ( |
| 20 | // ServerExpr contains a single API host information. |
| 21 | ServerExpr struct { |
| 22 | // Name of server |
| 23 | Name string |
| 24 | // Description of server |
| 25 | Description string |
| 26 | // Services list the services hosted by the server. |
| 27 | Services []string |
| 28 | // Hosts list the server hosts. |
| 29 | Hosts []*HostExpr |
| 30 | // Meta is a set of key/value pairs. |
| 31 | Meta MetaExpr |
| 32 | } |
| 33 | |
| 34 | // HostExpr describes a server host. |
| 35 | HostExpr struct { |
nothing calls this directly
no outgoing calls
no test coverage detected