runtime_repository

package
v0.0.0-...-0eeeb36 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRuntimeRepository

type IRuntimeRepository interface {
	GetByName(name string) (*runtime_model.Runtime, error)
	UpdateValue(id int, value string) error
}

type RuntimeRepository

type RuntimeRepository struct {
	// contains filtered or unexported fields
}

func DefaultRuntimeRepository

func DefaultRuntimeRepository(dbx *sqlx.DB) *RuntimeRepository

func (*RuntimeRepository) GetByName

func (ur *RuntimeRepository) GetByName(name string) (*runtime_model.Runtime, error)

get all settings

func (*RuntimeRepository) UpdateValue

func (ur *RuntimeRepository) UpdateValue(id int, value string) error

get all settings

Jump to

Keyboard shortcuts

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