Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
GetJobMapping(platform, chatID string) (*model.IMJobMapping, error)
SaveJobMapping(mapping *model.IMJobMapping) error
AppendMessage(ctx context.Context, message *model.IMMessage) error
}
Store is the persistence-facing capability used by the IM gateway. Keeping it in the service layer prevents transport adapters from depending directly on repository implementations.
Click to show internal directories.
Click to hide internal directories.