repository

package
v0.0.0-...-60c035c Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 6 Imported by: 0

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インターフェイスを表すオブジェクトを作成します

Jump to

Keyboard shortcuts

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