Help us shape the future of Go! Take the 2026 Go Developer Survey

im

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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.

func NewStore

func NewStore() (Store, error)

Jump to

Keyboard shortcuts

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