Files
oneterm/backend/pkg/proto/ssh/api/api.go
2024-02-01 20:53:29 +08:00

21 lines
269 B
Go

package api
type Authentication interface {
Authenticate() (token string, err error)
}
type Asset interface {
Groups() (any, error)
Lists() (any, error)
}
type Audit interface {
NewSession(data any) error
}
type Core interface {
Authentication
Audit
Asset
}