(bindAddress string)
| 92 | } |
| 93 | |
| 94 | func WithBind(bindAddress string) ServerOption { |
| 95 | return func(s *Server) { |
| 96 | s.Bind = bindAddress |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | func WithConnectHandle(handler statute.UserConnectHandler) ServerOption { |
| 101 | return func(s *Server) { |
nothing calls this directly
no outgoing calls
no test coverage detected