Documentation ¶
Index ¶
- type Leadership
- func (w *Leadership) AddAvailabilityCriteria(criteria leadership.AvailabilityCriteria)
- func (w *Leadership) BecameFollower() signalslots.Signal
- func (w *Leadership) BecameLeader() signalslots.Signal
- func (w *Leadership) BecameUnavailable() signalslots.Signal
- func (w *Leadership) Deinit(ctx context.Context)
- func (w *Leadership) DoWork(ctx context.Context)
- func (w *Leadership) GetEntityFieldValidator() data.EntityFieldValidator
- func (w *Leadership) Init(ctx context.Context, h app.Handle)
- func (w *Leadership) LosingLeadership() signalslots.Signal
- func (w *Leadership) OnSchemaUpdated(ctx context.Context, n data.Notification)
- func (w *Leadership) OnStoreConnected(ctx context.Context)
- func (w *Leadership) OnStoreDisconnected()
- type Store
- type Web
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Leadership ¶
type Leadership struct {
// contains filtered or unexported fields
}
Modify Leadership struct
func (*Leadership) AddAvailabilityCriteria ¶
func (w *Leadership) AddAvailabilityCriteria(criteria leadership.AvailabilityCriteria)
func (*Leadership) BecameFollower ¶
func (w *Leadership) BecameFollower() signalslots.Signal
func (*Leadership) BecameLeader ¶
func (w *Leadership) BecameLeader() signalslots.Signal
func (*Leadership) BecameUnavailable ¶
func (w *Leadership) BecameUnavailable() signalslots.Signal
func (*Leadership) Deinit ¶
func (w *Leadership) Deinit(ctx context.Context)
func (*Leadership) DoWork ¶
func (w *Leadership) DoWork(ctx context.Context)
func (*Leadership) GetEntityFieldValidator ¶ added in v0.0.10
func (w *Leadership) GetEntityFieldValidator() data.EntityFieldValidator
func (*Leadership) LosingLeadership ¶
func (w *Leadership) LosingLeadership() signalslots.Signal
func (*Leadership) OnSchemaUpdated ¶
func (w *Leadership) OnSchemaUpdated(ctx context.Context, n data.Notification)
func (*Leadership) OnStoreConnected ¶
func (w *Leadership) OnStoreConnected(ctx context.Context)
func (*Leadership) OnStoreDisconnected ¶
func (w *Leadership) OnStoreDisconnected()
type Store ¶
type Store struct { Connected signalslots.Signal Disconnected signalslots.Signal // contains filtered or unexported fields }
func (*Store) IsConnected ¶
type Web ¶
type Web struct { ClientConnected signalslots.Signal ClientDisconnected signalslots.Signal Received signalslots.Signal // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.