A ServerOption sets options such as credentials, codec and keepalive parameters, etc.
| 199 | |
| 200 | // A ServerOption sets options such as credentials, codec and keepalive parameters, etc. |
| 201 | type ServerOption interface { |
| 202 | apply(*serverOptions) |
| 203 | } |
| 204 | |
| 205 | // EmptyServerOption does not alter the server configuration. It can be embedded |
| 206 | // in another structure to build custom server options. |
no outgoing calls
no test coverage detected