(ctx context.Context)
| 64 | } |
| 65 | |
| 66 | func (s *Server) getServerAuth(ctx context.Context) grpc.CallOption { |
| 67 | if s.auth != nil { |
| 68 | return s.auth(ctx) |
| 69 | } |
| 70 | return s.component.WithClusterAuth() |
| 71 | } |
| 72 | |
| 73 | func (s *Server) getRegistry(ctx context.Context, _ *ttnpb.GatewayIdentifiers) (ttnpb.GatewayRegistryClient, error) { |
| 74 | if s.registry != nil { |
no test coverage detected