Documentation
¶
Index ¶
Constants ¶
View Source
const ( TEST_GRPC_MESSAGES_PORT = "10000" TEST_GRPC_API_PORT = "10001" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcDaemon ¶
type GrpcDaemon struct {
MessagesServer *server.MessagesServer
ApiServer *api.ApiServer
// contains filtered or unexported fields
}
func NewGrpcDaemon ¶
func (*GrpcDaemon) APIClient ¶
func (d *GrpcDaemon) APIClient() *grpc.Server
func (*GrpcDaemon) Clients ¶
func (d *GrpcDaemon) Clients() []*client.Client
func (*GrpcDaemon) ClientsCount ¶
func (d *GrpcDaemon) ClientsCount() int
func (*GrpcDaemon) MessagesClient ¶
func (d *GrpcDaemon) MessagesClient() *grpc.Server
func (*GrpcDaemon) Stop ¶
func (d *GrpcDaemon) Stop()
Click to show internal directories.
Click to hide internal directories.