repositorys

package
v0.0.0-...-06bb1a6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepositoryLogin

func NewRepositoryLogin(db *gorm.DB) *repositoryLogin

func NewRepositoryPing

func NewRepositoryPing(db *gorm.DB) *repositoryPing

func NewRepositoryRegister

func NewRepositoryRegister(db *gorm.DB) *repositoryRegister

Types

type RepositoryLogin

type RepositoryLogin interface {
	LoginRepository(input *schemas.SchemaAuth) (*entities.User, schemas.SchemaDatabaseError)
}

type RepositoryPing

type RepositoryPing interface {
	PingRepository() string
}

type RepositoryRegister

type RepositoryRegister interface {
	RegisterRepository(input *schemas.SchemaAuth) (*entities.User, schemas.SchemaDatabaseError)
}

Jump to

Keyboard shortcuts

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