group

package
v0.0.0-...-ccaf0b9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group interface {
	IsDisabled() bool
}

type Store

type Store interface {
	// 新增
	Add(ctx context.Context, groupID string, active bool) error
	// 取得
	Get(ctx context.Context, groupID string) (Group, error)
	// 刪除
	Delete(ctx context.Context, groupID string) error
	// 啟用Group
	Active(ctx context.Context, groupID string) error
	// 停用Group
	Inactive(ctx context.Context, groupID string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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