repository

package
v0.0.0-...-a5768bf Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConversationEventRepository

type ConversationEventRepository interface {
	GetEventById(eventId string) helper.QueryResult
	GetEventsForConversation(conversationId string, t *time.Time, pageSize int) helper.QueryResult
	Save(conversationEvent *entity.ConversationEvent) helper.QueryResult
}

func NewConversationEventRepository

func NewConversationEventRepository(db *gorm.DB) ConversationEventRepository

type PostgresRepositories

type PostgresRepositories struct {
	ConversationEventRepository ConversationEventRepository
	CommonRepositories          *commonRepository.Repositories
}

func InitRepositories

func InitRepositories(db *gorm.DB, driver *neo4j.DriverWithContext) *PostgresRepositories

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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