pairlist

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 PairList

type PairList struct {
	Pairs []pair.Pair
	// contains filtered or unexported fields
}

func (*PairList) DeletePair

func (pl *PairList) DeletePair(p string) error

func (*PairList) GetFirstPairFromUser

func (pl *PairList) GetFirstPairFromUser(user string) (string, error)

func (*PairList) GetFirstPicture

func (pl *PairList) GetFirstPicture(p, user string) (string, error)

func (*PairList) GetFirstUser

func (pl *PairList) GetFirstUser(p string) (string, error)

func (*PairList) GetPairsFromUser

func (pl *PairList) GetPairsFromUser(user string) ([]string, error)

func (*PairList) GetSecondPicture

func (pl *PairList) GetSecondPicture(p, user string) (string, error)

func (*PairList) GetSecondUser

func (pl *PairList) GetSecondUser(p string) (string, error)

func (*PairList) IsFirstUser

func (pl *PairList) IsFirstUser(p, user string) (bool, error)

func (*PairList) NewPair

func (pl *PairList) NewPair(user string) (string, error)

func (*PairList) SetMaxPairs

func (pl *PairList) SetMaxPairs(cnt int)

func (*PairList) SetPicture

func (pl *PairList) SetPicture(p, user, name string) error

func (*PairList) SetSecondUser

func (pl *PairList) SetSecondUser(p, user string) error

func (*PairList) UnlockPicture

func (pl *PairList) UnlockPicture(p, user string) error

Jump to

Keyboard shortcuts

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