Documentation ¶
Index ¶
- Variables
- type Puncher
- func (p *Puncher) EndSession(session models.Session, timestamp time.Time, note string) (*models.Session, error)
- func (p *Puncher) StartSession(client models.Client, timestamp time.Time, note string) (*models.Session, error)
- func (p *Puncher) ToggleCheckInOut(client *models.Client, note string) (*models.Session, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Puncher ¶
type Puncher struct {
// contains filtered or unexported fields
}
func NewPuncher ¶
func NewPuncher(repo repositories.SessionRepository) *Puncher
func (*Puncher) EndSession ¶
func (*Puncher) StartSession ¶
Click to show internal directories.
Click to hide internal directories.