view

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommService added in v0.3.0

type CommService interface {
	Start(ctx context.Context)
	Stop()
}

type GRPCServer added in v0.2.0

type GRPCServer interface {
}

type Registry

type Registry interface {
	GetService(v interface{}) (interface{}, error)

	RegisterService(service interface{}) error
}

type SDK added in v0.2.0

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

func NewSDK

func NewSDK(confPath string, registry Registry) *SDK

func (*SDK) Install added in v0.2.0

func (p *SDK) Install() error

func (*SDK) Start added in v0.2.0

func (p *SDK) Start(ctx context.Context) error

type Startable

type Startable interface {
	Start(ctx context.Context)
}

type Stoppable

type Stoppable interface {
	Stop()
}

type WebServer added in v0.2.0

type WebServer interface {
	RegisterHandler(s string, handler http.Handler, secure bool)
	Start() error
	Stop() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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