Documentation ¶
Index ¶
- func Add(ctx context.Context, cli api.HabitsClient, name, desc string, freq int) (habit.Habit, error)
- func AddHabits(ctx context.Context, cli api.HabitsClient, habits []habit.Habit) ([]habit.Habit, error)
- func GetHabit(ctx context.Context, cli api.HabitsClient, id string) (habit.Habit, error)
- func ListHabits(ctx context.Context, cli api.HabitsClient) ([]habit.Habit, error)
- func New(serverAddress string) (api.HabitsClient, error)
- func TickHabit(ctx context.Context, cli api.HabitsClient, id string) (habit.Habit, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListHabits ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.