Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationSession ¶ added in v0.3.0
type AuthenticationSession struct {
User string `json:"uid"`
TID gocql.UUID `json:"tid"`
KID gocql.UUID `json:"kid"`
Type string `json:"type"`
Signature string `json:"signature"`
}
func (AuthenticationSession) String ¶ added in v0.3.0
func (a AuthenticationSession) String() string
func (AuthenticationSession) UnhashedString ¶ added in v0.3.0
func (a AuthenticationSession) UnhashedString() string
type Storage ¶
type Storage interface {
StoreReferences(string, []Reference) error
StoreObjects(string, []Object) error
StoreObject(string, Object, int) error
ListReferences(string) ([]Reference, error)
ListObjects(string) ([]Object, error)
GetObject(string, plumbing.Hash) (Object, error)
GenerateHashKey() error
GetHashKey() ([]HashKey, error)
}
Click to show internal directories.
Click to hide internal directories.