1// +build !pro,!ent 2 3package nomad 4 5import "net/rpc" 6 7// EnterpriseEndpoints holds the set of enterprise only endpoints to register 8type EnterpriseEndpoints struct{} 9 10// NewEnterpriseEndpoints returns a stub of the enterprise endpoints since there 11// are none in oss 12func NewEnterpriseEndpoints(s *Server) *EnterpriseEndpoints { 13 return &EnterpriseEndpoints{} 14} 15 16// Register is a no-op in oss. 17func (e *EnterpriseEndpoints) Register(s *rpc.Server) {} 18