Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseRunner ¶
type DatabaseRunner interface {
Run(q arangolite.Runnable) ([]byte, error)
}
type Repository ¶
type Repository struct { snakepit.Repository DB DatabaseRunner Client *gentleman.Client }
func NewRepository ¶
func NewRepository( c *viper.Viper, l *logrus.Entry, j *snakepit.JSON, db DatabaseRunner, cli *gentleman.Client, ) *Repository
func (*Repository) Run ¶
func (r *Repository) Run(q arangolite.Runnable, response interface{}) error
func (*Repository) Send ¶
func (r *Repository) Send(authPayload, method, url string, body, response interface{}) error
Click to show internal directories.
Click to hide internal directories.