Versions in this module Expand all Collapse all v0 v0.2.0 Nov 4, 2024 Changes in this version + type Database struct + func NewDatabase(ctx context.Context, db *gorm.DB) (Database, error) + func (d Database) Add(creds *credentials.Credentials) error + func (d Database) Delete(serverURL string) error + func (d Database) Get(serverURL string) (string, string, error) + func (d Database) List() (map[string]string, error) + type GptscriptCredential struct + CreatedAt time.Time + ID uint + Secret string + ServerURL string + Username string