repository

package
v0.0.0-...-19bfec4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 7 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) 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.Driver) *PostgresRepositories

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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