diff --git a/server.go b/server.go index 7efd5a00..96423f82 100644 --- a/server.go +++ b/server.go @@ -283,6 +283,11 @@ func (s *Server) AddHooksFromConfig(hooks []HookLoadConfig) error { return nil } +// RemoveHook removes a hook from the server by its ID. +func (s *Server) RemoveHook(id string) error { + return errors.New("not implemented") +} + // AddListener adds a new network listener to the server, for receiving incoming client connections. func (s *Server) AddListener(l listeners.Listener) error { if _, ok := s.Listeners.Get(l.ID()); ok {