service

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseSvc

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

BaseSvc represent BaseSvc

func (*BaseSvc) GetHandler

func (s *BaseSvc) GetHandler() *handler.Handler

GetHandler set Handler

func (*BaseSvc) SetDBConnectionName

func (s *BaseSvc) SetDBConnectionName(v string)

SetDBConnectionName set DBConnectionName

func (*BaseSvc) SetHandler

func (s *BaseSvc) SetHandler(h *handler.Handler)

SetHandler set Handler

type CountrySvc

type CountrySvc struct {
	BaseSvc
}

CountrySvc represent CountrySvc

func NewCountrySvc

func NewCountrySvc(h *handler.Handler) (*CountrySvc, error)

NewCountrySvc new CountrySvc

func (*CountrySvc) Add

Add Country

func (*CountrySvc) Delete

Delete delete Country

func (*CountrySvc) GetDetail

GetDetail get Detail Country by Code

func (*CountrySvc) ListAll

ListAll list All Country

func (*CountrySvc) Update

Update Country

Jump to

Keyboard shortcuts

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