woodpecker/common/token.go
2015-04-07 01:20:55 -07:00

9 lines
222 B
Go

package common
type Token struct {
Sha string `json:"-"`
Login string `json:"-"`
Repos []string `json:"repos,omitempty"`
Scopes []string `json:"scopes,omitempty"`
Expiry int64 `json:"expiry,omitempty"`
}