lotus/api/api_lp.go

11 lines
188 B
Go
Raw Normal View History

2023-12-03 06:40:01 +00:00
package api
import "context"
type LotusProvider interface {
Version(context.Context) (Version, error) //perm:admin
// Trigger shutdown
Shutdown(context.Context) error //perm:admin
}