domain

package
v0.0.0-...-08ad29a Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const CyprusCountryCode = `CY`
View Source
const TopicCompany = `company`

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	Name    string `json:"name"`
	Code    string `json:"code"`
	Country string `json:"country"`
	Website string `json:"website"`
	Phone   int    `json:"phone"`
}

type IpClient

type IpClient interface {
	GetCountry(ip string) (country string, err error)
}

type Producer

type Producer interface {
	Produce(topic string, key, value []byte) error
}

type Router

type Router interface {
	Route() http.Handler
}

type Validator

type Validator interface {
	Validate(_struct interface{}) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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