mirror of
https://github.com/go-gost/core.git
synced 2024-08-11 17:44:43 +00:00
12 lines
175 B
Go
12 lines
175 B
Go
package metadata
|
|
|
|
type Metadatable interface {
|
|
Metadata() Metadata
|
|
}
|
|
|
|
type Metadata interface {
|
|
IsExists(key string) bool
|
|
Set(key string, value any)
|
|
Get(key string) any
|
|
}
|