Documentation ¶
Index ¶
Constants ¶
View Source
const ( InType string = "i" OutType string = "o" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3TimelogRepository ¶
func (*S3TimelogRepository) Add ¶
func (r *S3TimelogRepository) Add(timelog *Timelog) error
Add appends the timelog entry to the timelog file in an S3 bucket
func (*S3TimelogRepository) GetLast ¶
func (r *S3TimelogRepository) GetLast() (*Timelog, error)
type TimelogRepository ¶
type TimelogService ¶
type TimelogService struct {
Repository TimelogRepository
}
func (*TimelogService) Start ¶
func (s *TimelogService) Start(timestamp, description string) error
func (*TimelogService) Stop ¶
func (s *TimelogService) Stop(timestamp string) error
Click to show internal directories.
Click to hide internal directories.