Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServerRepository ¶
type APIServerRepository interface { Get(modelName string, key string, param interface{}) (interface{}, int, error) GetList(modelName string, key string, param interface{}) (interface{}, int, error) Create(modelName string, key string, body []byte) (interface{}, int, error) Update(modelName string, key string, body []byte) (interface{}, int, error) Delete(modelName string, key string, param interface{}) (interface{}, int, error) RemoveCollection(modelName string) (interface{}, int, error) }
APIServerRepository Interface
func NewAPIServerRepository ¶
func NewAPIServerRepository(db *database.DB) APIServerRepository
NewAPIServerRepository APIServerRepositoryインターフェイスを表すオブジェクトを作成します
Click to show internal directories.
Click to hide internal directories.