services

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServices

func NewServices() func(param NewServicesParam) *Services

Types

type NewServicesParam

type NewServicesParam struct {
	fx.In

	Logger *logger.Logger
	Ent    *datastore.Ent
	Config *configs.Config
}

type Services

type Services struct {
	Ent    *datastore.Ent
	Config *configs.Config
	// contains filtered or unexported fields
}

func (*Services) CreateOrUpdateSlackCredential

func (b *Services) CreateOrUpdateSlackCredential(teamID, accessToken, refreshToken string) error

func (*Services) NewStoreFuncForRefresh

func (b *Services) NewStoreFuncForRefresh(teamID string) func(accessToken, refreshToken string) error

Jump to

Keyboard shortcuts

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