database

package
v0.0.0-...-2a6e696 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meeting

type Meeting interface {
	Create(ctx context.Context, meetings []*model.MeetingInfo) (err error)
	Take(ctx context.Context, meetingID string) (meeting *model.MeetingInfo, err error)
	Update(ctx context.Context, meetingID string, updateData map[string]any) error
	FindByStatus(ctx context.Context, status []string, userID string) ([]*model.MeetingInfo, error)
	Delete(ctx context.Context, meetingID string) error
}

type User

type User interface {
	Create(ctx context.Context, users []*model.User) (err error)
	Take(ctx context.Context, userID string) (user *model.User, err error)
	TakeByAccount(ctx context.Context, account string) (user *model.User, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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