mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-10 17:52:44 +08:00
14 lines
217 B
Go
14 lines
217 B
Go
package rule
|
|
|
|
type RuleClass[InputType any] interface {
|
|
Type() RuleType
|
|
Match(input InputType) (bool, error)
|
|
StorageName() string
|
|
StoragePath() string
|
|
}
|
|
|
|
type storInfo struct {
|
|
storName string
|
|
storPath string
|
|
}
|