Documentation ¶
Index ¶
- type Credential
- func (c *Credential) Delete(db *gorm.DB)
- func (c *Credential) Export(db *gorm.DB) (creds []*Credential)
- func (c *Credential) Get(db *gorm.DB) (creds []*Credential)
- func (c *Credential) Purge(db *gorm.DB, toPurge string)
- func (c *Credential) Save(db *gorm.DB)
- func (c *Credential) Update(id uint, db *gorm.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { ID uint Host string `gorm:"default:nil"` App string `gorm:"default:nil"` User string `gorm:"default:nil"` Password string `gorm:"default:nil"` }
func (*Credential) Delete ¶
func (c *Credential) Delete(db *gorm.DB)
func (*Credential) Export ¶
func (c *Credential) Export(db *gorm.DB) (creds []*Credential)
func (*Credential) Get ¶
func (c *Credential) Get(db *gorm.DB) (creds []*Credential)
func (*Credential) Save ¶
func (c *Credential) Save(db *gorm.DB)
Click to show internal directories.
Click to hide internal directories.