Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Insight ¶
type Insight interface { proto.Message IsOnline() bool GetSubscription(id string) Subscription AllSubscriptions() []Subscription UpdateSubscription(Subscription) error }
type Subscription ¶
type Subscription interface { proto.Message GetId() string GetGeneration() uint32 IsOnline() bool SetDisconnectTime(time time.Time) }
func AllSubscriptions ¶
func AllSubscriptions[S Subscription, T interface{ GetSubscriptions() []S }](t T) []Subscription
func GetSubscription ¶
func GetSubscription[S Subscription, T interface{ GetSubscriptions() []S }](t T, id string) Subscription
Click to show internal directories.
Click to hide internal directories.