repositories

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRepository

type IRepository interface {
	NewRepositoryFromReadCloser(body io.ReadCloser) (repository *accountEntities.Repository, err error)
	NewAccountRepositoryFromReadCloser(body io.ReadCloser) (accountRepository *roles.AccountRepository, err error)
	NewInviteUserFromReadCloser(body io.ReadCloser) (inviteUser *dto.InviteUser, err error)
}

func NewRepositoryUseCases

func NewRepositoryUseCases() IRepository

type Repository

type Repository struct {
}

func (*Repository) NewAccountRepositoryFromReadCloser

func (r *Repository) NewAccountRepositoryFromReadCloser(body io.ReadCloser) (
	accountRepository *roles.AccountRepository, err error)

func (*Repository) NewInviteUserFromReadCloser

func (r *Repository) NewInviteUserFromReadCloser(body io.ReadCloser) (
	inviteUser *dto.InviteUser, err error)

func (*Repository) NewRepositoryFromReadCloser

func (r *Repository) NewRepositoryFromReadCloser(body io.ReadCloser) (
	repository *accountEntities.Repository, err error)

Jump to

Keyboard shortcuts

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