File: noop.go

package info (click to toggle)
gitlab-shell 14.35.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,652 kB
  • sloc: ruby: 1,129; makefile: 583; sql: 391; sh: 384
file content (10 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
package dnsresolver

import "google.golang.org/grpc/resolver"

// noopResolver does nothing. It is used when a target is not resolvable.
type noopResolver struct{}

func (noopResolver) ResolveNow(resolver.ResolveNowOptions) {}

func (noopResolver) Close() {}