Host the gRPC API and add token admin views

This commit is contained in:
Joe Julian
2026-03-30 07:50:34 -07:00
parent fca121f170
commit 84f39b99de
9 changed files with 1175 additions and 23 deletions
+4
View File
@@ -52,6 +52,10 @@ func (s Service) writer() Writer {
return systemWriter{}
}
func WriteText(text string) error {
return systemWriter{}.WriteText(text)
}
func findEntry(model vault.Model, entryID string) (vault.Entry, error) {
for _, entry := range model.Entries {
if entry.ID == entryID {