app

package
v0.0.0-...-fb9dcfe Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func CreateApp

func CreateApp() *App

func (*App) CreateConnectionListener

func (a *App) CreateConnectionListener(host string) error

func (*App) GetEventBus

func (a *App) GetEventBus() app.EventBusImpl

func (*App) Init

func (a *App) Init() error

func (*App) Run

func (a *App) Run() error

func (*App) Serve

func (a *App) Serve() error

func (*App) Uninit

func (a *App) Uninit()

type GRPCServer

type GRPCServer struct {
	Timer *timer.Service
	// contains filtered or unexported fields
}

func NewGRPCServer

func NewGRPCServer(host string) *GRPCServer

func (*GRPCServer) Init

func (gs *GRPCServer) Init(a *App) error

func (*GRPCServer) Serve

func (gs *GRPCServer) Serve() error

type HTTPServer

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

func NewHTTPServer

func NewHTTPServer(host string) *HTTPServer

func (*HTTPServer) Init

func (hs *HTTPServer) Init(a *App) error

func (*HTTPServer) Serve

func (hs *HTTPServer) Serve() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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