Upstream is the implementation for the upstream server
| 76 | |
| 77 | // Upstream is the implementation for the upstream server |
| 78 | type Upstream struct { |
| 79 | remote.UnimplementedUpstreamServer |
| 80 | |
| 81 | options *UpstreamOptions |
| 82 | |
| 83 | // ignore matcher is the ignore matcher which matches against excluded files and paths |
| 84 | ignoreMatcher ignoreparser.IgnoreParser |
| 85 | |
| 86 | ping *pingtimeout.PingTimeout |
| 87 | } |
| 88 | |
| 89 | // Ping returns empty |
| 90 | func (u *Upstream) Ping(context.Context, *remote.Empty) (*remote.Empty, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected