char/pkg/register/plugin.go

14 lines
223 B
Go

package register
import "context"
type About struct {
Name string `json:"name"`
Version string `json:"version"`
About string `json:"about"`
}
type Plugin interface {
About(ctx context.Context) (*About, error)
}