grpc

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestGrpcMessagesPort = "10000"
	TestGrpcAPIPort      = "10001"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon added in v0.3.0

type Daemon struct {
	MessagesServer *server.MessagesServer
	APIServer      *api.Server
	// contains filtered or unexported fields
}

func NewDaemon added in v0.3.0

func NewDaemon(ctx context.Context, workDir string, storages *storage.Storages, t *testing.T,
	logger *logrus.Logger) (*Daemon, error)

func (*Daemon) APIClient added in v0.3.0

func (d *Daemon) APIClient() *grpc.Server

func (*Daemon) Clients added in v0.3.0

func (d *Daemon) Clients() []*client.Client

func (*Daemon) ClientsCount added in v0.3.0

func (d *Daemon) ClientsCount() int

func (*Daemon) MessagesClient added in v0.3.0

func (d *Daemon) MessagesClient() *grpc.Server

func (*Daemon) StartAgents added in v0.3.0

func (d *Daemon) StartAgents(portRsList []PortRs, useSSL bool) error

func (*Daemon) StartAllAgents added in v0.3.0

func (d *Daemon) StartAllAgents() error

func (*Daemon) StartAllAgentsUsingSSL added in v0.5.0

func (d *Daemon) StartAllAgentsUsingSSL() error

func (*Daemon) Stop added in v0.3.0

func (d *Daemon) Stop()

type PortRs added in v0.3.0

type PortRs struct {
	Port string
	Rs   string
}

Jump to

Keyboard shortcuts

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