message

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(dbClient *gorm.DB) *Repository

func (*Repository) Create

func (r *Repository) Create(message *entity.Message) error

func (*Repository) Exist

func (r *Repository) Exist(transferID, signature, hash string) (bool, error)

func (*Repository) Get

func (r *Repository) Get(transferID string) ([]entity.Message, error)

func (*Repository) GetMessageWith

func (r *Repository) GetMessageWith(transferID, signature, hash string) (*entity.Message, error)

Jump to

Keyboard shortcuts

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