usecase

package
v0.0.0-...-6228e1e Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Usecase

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

func NewUsecase

func NewUsecase(wakatimeClient domain.WakatimeClient, tokenStore domain.TokenStore, slackClient domain.SlackClient, emojiOverides map[string]string) *Usecase

func (*Usecase) Callback

func (u *Usecase) Callback(ctx context.Context, code string) error

func (*Usecase) SetLanguage

func (u *Usecase) SetLanguage(ctx context.Context) error

func (*Usecase) SetToken

func (u *Usecase) SetToken(ctx context.Context) error

func (*Usecase) SetUserCustomStatus

func (u *Usecase) SetUserCustomStatus(language string) error

func (*Usecase) SignIn

func (u *Usecase) SignIn() (string, string, error)

Jump to

Keyboard shortcuts

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