service

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BaseEnvService

type BaseEnvService interface {
	InstallEnv() (err error)
	GetGoEnvPath() (path string, err error)
}

func NewBaseEnvService

func NewBaseEnvService() BaseEnvService

type EndpointRelatedService added in v0.0.6

type EndpointRelatedService interface {
	CreateEndpoint(mod, name string) (err error)
	WireEndpoint(mod, name string) (err error)
}

func NewEndpointRelatedService added in v0.0.6

func NewEndpointRelatedService() EndpointRelatedService

type GrpcRelatedService added in v1.1.0

type GrpcRelatedService interface {
	CreateProto(mod, name string) (err error)
	CreateService(mod, name string) (err error)
	WireGrpc(mod, name string) (err error)
}

func NewGrpcRelatedService added in v1.1.0

func NewGrpcRelatedService() GrpcRelatedService

type HttpRelatedService added in v0.0.6

type HttpRelatedService interface {
	CreateScheme(mod, name string) (err error)
	CreateSerialize(mod, name string) (err error)
	WireHttp(mod, name string) (err error)
	CreateHandle(mod, name string) (err error)
}

func NewHttpRelatedService added in v0.0.6

func NewHttpRelatedService() HttpRelatedService

type ModService

type ModService interface {
	GetMod() (mod string, err error)
}

func NewModService

func NewModService() ModService

type ProjectRelatedService added in v0.0.6

type ProjectRelatedService interface {
	CreateProject(name, goPath string) (err error)
}

func NewProjectRelatedService added in v0.0.6

func NewProjectRelatedService() ProjectRelatedService

type ServiceRelatedService added in v0.0.6

type ServiceRelatedService interface {
	CreateService(mod, name string) (err error)
	WireService(name string) (err error)
	RunWire() (err error)
}

func NewServiceRelatedService added in v0.0.6

func NewServiceRelatedService() ServiceRelatedService

Jump to

Keyboard shortcuts

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