Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSource ¶
type JsonDataSource ¶
type JsonDataSource interface { DataSource Load() ([]byte, error) Save(data []byte) error }
type MongoDataSource ¶
type MongoDataSource interface { DataSource Database() *mongo.Database Collection(coll string) *mongo.Collection }
type MysqlDataSource ¶
type MysqlDataSource interface { DataSource Connection() *sql.DB }
type RedisDataSource ¶
Click to show internal directories.
Click to hide internal directories.