pair

package
v0.0.0-...-3444db6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 New

func New(user string) Pair

func (*Pair) Delete

func (pa *Pair) Delete() error

func (*Pair) GetFirstPicture

func (pa *Pair) GetFirstPicture(user string) (string, error)

func (*Pair) GetFirstUser

func (pa *Pair) GetFirstUser() string

func (*Pair) GetSecondPicture

func (pa *Pair) GetSecondPicture(user string) (string, error)

func (*Pair) GetSecondUser

func (pa *Pair) GetSecondUser() string

func (*Pair) GetTimeStamp

func (pa *Pair) GetTimeStamp() time.Time

func (*Pair) GetUUID

func (pa *Pair) GetUUID() string

func (*Pair) IsFirstUser

func (pa *Pair) IsFirstUser(user string) bool

func (*Pair) IsSecondUser

func (pa *Pair) IsSecondUser(user string) bool

func (*Pair) SetPicture

func (pa *Pair) SetPicture(user, name string) error

func (*Pair) SetSecondUser

func (pa *Pair) SetSecondUser(user string) error

func (*Pair) UnlockPicture

func (pa *Pair) UnlockPicture(user string) error

type Picture

type Picture struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL