task2group

package
v0.0.0-...-75be81d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisStorage

type RedisStorage struct {
	Client redis.UniversalClient
}

func (*RedisStorage) GroupByTask

func (storage *RedisStorage) GroupByTask(ctx context.Context, task string) (group string, err error)

func (*RedisStorage) Save

func (storage *RedisStorage) Save(ctx context.Context, task string, group string) error

func (*RedisStorage) TaskByGroup

func (storage *RedisStorage) TaskByGroup(ctx context.Context, group string) (task string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL