Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { ResolveTokenAndDefaultMeta(token string, entMeta *structs.EnterpriseMeta, authzContext *acl.AuthorizerContext) (acl.Authorizer, error) Forward(dc string, f func(*grpc.ClientConn) error) (handled bool, err error) Subscribe(req *stream.SubscribeRequest) (*stream.Subscription, error) }
type Logger ¶
type Logger interface { Trace(msg string, args ...interface{}) With(args ...interface{}) hclog.Logger }
type Server ¶
Server implements a StateChangeSubscriptionServer for accepting SubscribeRequests, and sending events to the subscription topic.
func (*Server) Subscribe ¶
func (h *Server) Subscribe(req *pbsubscribe.SubscribeRequest, serverStream pbsubscribe.StateChangeSubscription_SubscribeServer) error
Click to show internal directories.
Click to hide internal directories.