Documentation ¶
Index ¶
- Constants
- func SetDestinationPath(p string)
- func SetSourcePath(p string)
- func SetStaticPath(p string)
- type Pair
- func (pa *Pair) Delete() error
- func (pa *Pair) GetFirstPicture(user string) (string, error)
- func (pa *Pair) GetFirstUser() string
- func (pa *Pair) GetSecondPicture(user string) (string, error)
- func (pa *Pair) GetSecondUser() string
- func (pa *Pair) GetTimeStamp() time.Time
- func (pa *Pair) GetUUID() string
- func (pa *Pair) IsFirstUser(user string) bool
- func (pa *Pair) IsSecondUser(user string) bool
- func (pa *Pair) SetPicture(user, name string) error
- func (pa *Pair) SetSecondUser(user string) error
- func (pa *Pair) UnlockPicture(user string) error
- type Picture
Constants ¶
View Source
const ( MISSING int = 1 + iota LOCKED UNLOCKED VISIBLE )
Variables ¶
This section is empty.
Functions ¶
func SetDestinationPath ¶
func SetDestinationPath(p string)
func SetSourcePath ¶
func SetSourcePath(p string)
func SetStaticPath ¶
func SetStaticPath(p string)
Types ¶
type Pair ¶
type Pair struct {
// contains filtered or unexported fields
}
func (*Pair) GetFirstUser ¶
func (*Pair) GetSecondUser ¶
func (*Pair) GetTimeStamp ¶
func (*Pair) IsFirstUser ¶
func (*Pair) IsSecondUser ¶
func (*Pair) SetPicture ¶
func (*Pair) SetSecondUser ¶
func (*Pair) UnlockPicture ¶
Click to show internal directories.
Click to hide internal directories.