Service represents a remote service, accessible at Service.URI
| 62 | |
| 63 | // Service represents a remote service, accessible at Service.URI |
| 64 | type Service interface { |
| 65 | // URI returns the URI used to access the remote service. |
| 66 | URI() string |
| 67 | // Status returns the status of the remote service, if supported. |
| 68 | Status() (string, error) |
| 69 | // configKey returns the value of a requested configuration key, if set. |
| 70 | configVal(string) string |
| 71 | } |
| 72 | |
| 73 | type service struct { |
| 74 | // cfg holds the serializable service configuration. |
no outgoing calls
no test coverage detected