Versions in this module Expand all Collapse all v0 v0.2.5 Nov 7, 2024 v0.2.4 Nov 3, 2024 v0.2.3 Nov 3, 2024 v0.2.2 Nov 3, 2024 v0.2.1 Nov 3, 2024 v0.2.0 Nov 3, 2024 v0.1.2 Oct 31, 2024 v0.1.1 Oct 31, 2024 v0.1.0 Oct 31, 2024 Changes in this version + func Hash(data []byte) string + func HashString(value string) string + type Color struct + B byte + G byte + R byte + func ColorFromUint(value uint32) Color + func (c *Color) UnmarshalJSON(data []byte) error + func (c Color) MarshalJSON() ([]byte, error) + func (c Color) ToHex() string + func (c Color) ToUint() (color uint32) + type Session struct + func NewSession(ctx context.Context) Session + func (s *Session) Cancel() + func (s *Session) Ctx() context.Context + func (s *Session) IsDone() bool + func (s *Session) Started() time.Time + type Subscriber struct + func (t *Subscriber[T]) Done() + func (t *Subscriber[T]) Recv() <-chan T + type Topic struct + func NewTopic[T any]() *Topic[T] + func (t *Topic[T]) Publish(value T) + func (t *Topic[T]) Subscribe() *Subscriber[T]