refactor: разнести пакеты и обновить валидацию
This commit is contained in:
8
protocol/store.go
Normal file
8
protocol/store.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package protocol
|
||||
|
||||
import "context"
|
||||
|
||||
type Store interface {
|
||||
Get(ctx context.Context) (ContentState, error)
|
||||
Set(ctx context.Context, state ContentState) error
|
||||
}
|
||||
Reference in New Issue
Block a user