2017-09-07 23:56:15 +00:00
|
|
|
// +build !pro,!ent
|
|
|
|
|
|
|
|
package nomad
|
|
|
|
|
2018-01-03 22:59:52 +00:00
|
|
|
import "net/rpc"
|
|
|
|
|
2017-09-07 23:56:15 +00:00
|
|
|
// EnterpriseEndpoints holds the set of enterprise only endpoints to register
|
|
|
|
type EnterpriseEndpoints struct{}
|
|
|
|
|
|
|
|
// NewEnterpriseEndpoints returns a stub of the enterprise endpoints since there
|
|
|
|
// are none in oss
|
|
|
|
func NewEnterpriseEndpoints(s *Server) *EnterpriseEndpoints {
|
|
|
|
return &EnterpriseEndpoints{}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Register is a no-op in oss.
|
2018-01-03 22:59:52 +00:00
|
|
|
func (e *EnterpriseEndpoints) Register(s *rpc.Server) {}
|