Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { ListRooms(ctx context.Context, entryId int64) ([]*types.Room, error) CreateRoom(ctx context.Context, entryId int64, prompt string) (*types.Room, error) UpdateRoom(ctx context.Context, room *types.Room) error GetRoom(ctx context.Context, id int64) (*types.Room, error) FindRoom(ctx context.Context, entryId int64) (*types.Room, error) DeleteRoom(ctx context.Context, id int64) error DeleteRoomMessages(ctx context.Context, roomId int64) error SaveMessage(ctx context.Context, roomMessage *types.RoomMessage) (*types.RoomMessage, error) }
Click to show internal directories.
Click to hide internal directories.