Documentation ¶
Index ¶
- func CompressFile(source string, target string) error
- func DecompressFile(source string, target string) error
- type Observer
- func (o *Observer[T]) GetSubscribersCount() int32
- func (o *Observer[T]) Notify(values []T)
- func (o *Observer[T]) Observe(ctx context.Context, retries int, filter func(T) bool) (<-chan []T, uint64)
- func (o *Observer[T]) Subscribe(ctx context.Context, filter func(T) bool) (chan []T, uint64)
- func (o *Observer[T]) Unsubscribe(ctx context.Context, ref uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressFile ¶
func DecompressFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.