Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultWait ¶
func DefaultWait()
Types ¶
type Api ¶
type Api struct { // dependencies interfaces.WithConfigPath // contains filtered or unexported fields }
func (*Api) GetGinEngine ¶
func (*Api) GetHttpServer ¶
type Docker ¶ added in v0.6.1
type Docker struct { // dependencies interfaces.WithConfigPath // contains filtered or unexported fields }
func GetDocker ¶ added in v0.6.1
func GetDocker(opts ...DockerOption) *Docker
func NewDocker ¶ added in v0.6.1
func NewDocker(opts ...DockerOption) *Docker
type DockerOption ¶ added in v0.6.1
type DockerOption func(dck DockerApp)
func WithDockerParent ¶ added in v0.6.1
func WithDockerParent(parent ServerApp) DockerOption
type NodeApp ¶
type NodeApp interface { App interfaces.WithConfigPath SetGrpcAddress(address interfaces.Address) }
type Server ¶ added in v0.6.1
type Server struct { // dependencies interfaces.WithConfigPath // contains filtered or unexported fields }
func (*Server) GetNodeService ¶ added in v0.6.1
func (app *Server) GetNodeService() (svc interfaces.NodeService)
func (*Server) SetGrpcAddress ¶ added in v0.6.1
func (app *Server) SetGrpcAddress(address interfaces.Address)
type ServerApp ¶ added in v0.6.1
type ServerApp interface { NodeApp GetApi() (api *Api) GetNodeService() (masterSvc interfaces.NodeService) }
func GetServer ¶ added in v0.6.1
func GetServer(opts ...ServerOption) ServerApp
func NewServer ¶ added in v0.6.1
func NewServer(opts ...ServerOption) (app ServerApp)
type ServerOption ¶ added in v0.6.1
type ServerOption func(app ServerApp)
func WithServerConfigPath ¶ added in v0.6.1
func WithServerConfigPath(path string) ServerOption
func WithServerGrpcAddress ¶ added in v0.6.1
func WithServerGrpcAddress(address interfaces.Address) ServerOption
Click to show internal directories.
Click to hide internal directories.