country

package
v0.0.0-...-d84e329 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2017 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(s liferay.Session) *Service

func (*Service) AddCountry

func (s *Service) AddCountry(name string, a2 string, a3 string, number string, idd string, active bool) (map[string]interface{}, error)

func (*Service) FetchCountry

func (s *Service) FetchCountry(countryId int64) (map[string]interface{}, error)

func (*Service) FetchCountryByA2

func (s *Service) FetchCountryByA2(a2 string) (map[string]interface{}, error)

func (*Service) FetchCountryByA3

func (s *Service) FetchCountryByA3(a3 string) (map[string]interface{}, error)

func (*Service) GetCountries

func (s *Service) GetCountries() ([]interface{}, error)

func (*Service) GetCountries2

func (s *Service) GetCountries2(active bool) ([]interface{}, error)

func (*Service) GetCountry

func (s *Service) GetCountry(countryId int64) (map[string]interface{}, error)

func (*Service) GetCountryByA2

func (s *Service) GetCountryByA2(a2 string) (map[string]interface{}, error)

func (*Service) GetCountryByA3

func (s *Service) GetCountryByA3(a3 string) (map[string]interface{}, error)

func (*Service) GetCountryByName

func (s *Service) GetCountryByName(name string) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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