controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: GPL-3.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICountry

type ICountry interface {
	// Query data
	Query(ctx context.Context, params schema.CountryQueryParam, opts ...schema.CountryQueryOptions) (*schema.CountryQueryResult, error)
	// Get specified data
	Get(ctx context.Context, Code string, opts ...schema.CountryQueryOptions) (*schema.Country, error)
	// Create data
	Create(ctx context.Context, item schema.Country) (*schema.Country, error)
	// Update data
	Update(ctx context.Context, Code string, item schema.Country) (*schema.Country, error)
	// Delete data
	Delete(ctx context.Context, Code string) error
	// Update status
	UpdateStatus(ctx context.Context, Code string, status int) error
}

ICountry - Country business logic interface

type ILanguage

type ILanguage interface {
	// Query data
	Query(ctx context.Context, params schema.LanguageQueryParam, opts ...schema.LanguageQueryOptions) (*schema.LanguageQueryResult, error)
	// Get specified data
	Get(ctx context.Context, Code string, opts ...schema.LanguageQueryOptions) (*schema.Language, error)
	// Create data
	Create(ctx context.Context, item schema.Language) (*schema.Language, error)
	// Update data
	Update(ctx context.Context, Code string, item schema.Language) (*schema.Language, error)
	// Delete data
	Delete(ctx context.Context, Code string) error
	// Update status
	UpdateStatus(ctx context.Context, Code string, status int) error
}

ILanguage - Language business logic interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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