(s *Server, opts ...Option)
| 52 | } |
| 53 | |
| 54 | func applyServerOptions(s *Server, opts ...Option) *Server { |
| 55 | for _, opt := range opts { |
| 56 | opt(s) |
| 57 | } |
| 58 | return s |
| 59 | } |
| 60 | |
| 61 | // Server implements HTTPServer. HTTPServer is a generated interface that gRPC |
| 62 | // servers must implement. |