service

package
v0.0.0-...-5164d6d Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewAuthService

func NewAuthService(storage storage) *Service

func (*Service) CreateByTransaction

func (s *Service) CreateByTransaction(ctx context.Context, tx *sqlx.Tx, auth *auth.Auth) error

func (*Service) Get

func (s *Service) Get(ctx context.Context, method auth.Method, socialID auth.SocialID) (*auth.Auth, error)

func (*Service) MakeCreateTransaction

func (s *Service) MakeCreateTransaction(ctx context.Context) (*sqlx.Tx, error)

Jump to

Keyboard shortcuts

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