woodpecker/model/key.go

9 lines
252 B
Go
Raw Normal View History

2015-09-30 01:21:17 +00:00
package model
type Key struct {
ID int64 `json:"-" meddler:"key_id,pk"`
RepoID int64 `json:"-" meddler:"key_repo_id"`
Public string `json:"public" meddler:"key_public"`
Private string `json:"private" meddler:"key_private"`
}