chore
- application struct
This commit is contained in:
1 parent
7c1a49f457
commit
478ac2fc7b
3 files changed
+106
No files matched your search
@@ -0,0 +1,31 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"io"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Spell struct {
|
||||
Name string
|
||||
Spell string
|
||||
Tags []string
|
||||
}
|
||||
|
||||
type SpellCast struct {
|
||||
Spell Spell
|
||||
Args map[string]string
|
||||
Stdout io.Writer
|
||||
Stderr io.Writer
|
||||
}
|
||||
|
||||
type CastResult struct {
|
||||
ExitCode int
|
||||
Duration time.Duration
|
||||
Meta map[string]any
|
||||
}
|
||||
|
||||
type SearchQuery struct {
|
||||
Cursor int
|
||||
Limit int
|
||||
Tags []string
|
||||
}
|
||||
Reference in new issue
Block a user