services

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

Config struct

func (Config) Create

func (c Config) Create(cdto *dto.ConfigAddDto) (int64, error)

Create configuration

func (Config) Delete

func (c Config) Delete(cdto *dto.ConfigDelDto) error

Delete : Remove by id

func (Config) List

func (c Config) List(start int, limit int, q []string) (interface{}, int64)

List configurations with params of pagination

func (Config) Update

func (c Config) Update(cdto *dto.ConfigEditDto) error

Update configuration with id

Jump to

Keyboard shortcuts

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