2022-11-01 14:26:54 +01:00
|
|
|
package register
|
|
|
|
|
2022-11-01 21:15:32 +01:00
|
|
|
import "context"
|
|
|
|
|
|
|
|
type About struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
Version string `json:"version"`
|
|
|
|
About string `json:"about"`
|
|
|
|
}
|
|
|
|
|
2022-11-01 14:26:54 +01:00
|
|
|
type Plugin interface {
|
2022-11-01 21:15:32 +01:00
|
|
|
About(ctx context.Context) (*About, error)
|
2022-11-01 14:26:54 +01:00
|
|
|
}
|