service

package
v0.0.0-...-92ef796 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModulesServices = []ServiceType{
	AuthService, UserService, ImService,
}

Functions

func ExistServiceType

func ExistServiceType(str string) bool

Types

type Service

type Service interface {
	Serve()
}

ModuleService & GatewayService

type ServiceType

type ServiceType string

noinspection GoNameStartsWithPackageName

const (
	MainService ServiceType = "main-service"
	AuthService ServiceType = "auth-service"
	UserService ServiceType = "user-service"
	ImService   ServiceType = "im-service"
)

Directories

Path Synopsis
rpc
im

Jump to

Keyboard shortcuts

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