gorm

package
v0.0.0-...-8009223 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormStorage

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

func Register

func Register(cfg *config.Configuration) (*GormStorage, error)

func (*GormStorage) AddUser

func (gs *GormStorage) AddUser(u *storage.User) (*storage.User, error)

func (*GormStorage) GetUserByMessenger

func (gs *GormStorage) GetUserByMessenger(vcsType dto.VCSHostingType, messengerType dto.MessengerType, messengerUserID int64) (*storage.User, error)

func (*GormStorage) GetUserByVCSHosting

func (gs *GormStorage) GetUserByVCSHosting(vcsType dto.VCSHostingType, messengerType dto.MessengerType, vcsHostingUserID int64) (*storage.User, error)

func (*GormStorage) UpdateUser

func (gs *GormStorage) UpdateUser(u *storage.User) (*storage.User, error)

Jump to

Keyboard shortcuts

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