mirror of
https://github.com/veops/oneterm.git
synced 2025-09-26 19:31:14 +08:00
21 lines
269 B
Go
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
|
|
}
|