github.imxd.top/hashicorp/consul@v1.4.5/agent/consul/server_oss.go (about) 1 package consul 2 3 func init() { 4 registerEndpoint(func(s *Server) interface{} { return &ACL{s} }) 5 registerEndpoint(func(s *Server) interface{} { return &Catalog{s} }) 6 registerEndpoint(func(s *Server) interface{} { return NewCoordinate(s) }) 7 registerEndpoint(func(s *Server) interface{} { return &ConnectCA{srv: s} }) 8 registerEndpoint(func(s *Server) interface{} { return &Health{s} }) 9 registerEndpoint(func(s *Server) interface{} { return &Intention{s} }) 10 registerEndpoint(func(s *Server) interface{} { return &Internal{s} }) 11 registerEndpoint(func(s *Server) interface{} { return &KVS{s} }) 12 registerEndpoint(func(s *Server) interface{} { return &Operator{s} }) 13 registerEndpoint(func(s *Server) interface{} { return &PreparedQuery{s} }) 14 registerEndpoint(func(s *Server) interface{} { return &Session{s} }) 15 registerEndpoint(func(s *Server) interface{} { return &Status{s} }) 16 registerEndpoint(func(s *Server) interface{} { return &Txn{s} }) 17 }