2024-02-23 20:32:50 +00:00
|
|
|
package plugin
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/vincenzopalazzo/cln4go/plugin"
|
|
|
|
)
|
|
|
|
|
|
|
|
// / GetInfo - Return the info of the ocean plugin
|
|
|
|
func GetInfo(cln *plugin.Plugin[*State], _ map[string]any) (map[string]any, error) {
|
|
|
|
cln.Log("debug", "calling getinfo for plugin")
|
|
|
|
return map[string]any{
|
2024-02-26 17:16:21 +00:00
|
|
|
"version": "0.0.1",
|
2024-02-23 20:32:50 +00:00
|
|
|
}, nil
|
|
|
|
}
|