14661a417b
Uses struct/interface embedding with the embedded structs/interfaces being empty for oss. Also methods on the server/client types are defaulted to do nothing for OSS
26 lines
395 B
Go
26 lines
395 B
Go
// +build !ent
|
|
|
|
package consul
|
|
|
|
import (
|
|
"github.com/hashicorp/serf/serf"
|
|
)
|
|
|
|
type EnterpriseClient struct{}
|
|
|
|
func (c *Client) initEnterprise() error {
|
|
return nil
|
|
}
|
|
|
|
func (c *Client) startEnterprise() error {
|
|
return nil
|
|
}
|
|
|
|
func (c *Client) handleEnterpriseUserEvents(event serf.UserEvent) bool {
|
|
return false
|
|
}
|
|
|
|
func (c *Client) enterpriseStats() map[string]map[string]string {
|
|
return nil
|
|
}
|