Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GRPCClient gen.GloombergClient
Functions ¶
func FetchEvents ¶
func StartServer ¶
func StartServer(gb *gloomberg.Gloomberg, sw *seawa.SeaWatcher)
Types ¶
type GloombergGRPC ¶
type GloombergGRPC struct { // server *remote.ClientGRPC gen.UnimplementedGloombergServer // contains filtered or unexported fields }
func NewGloombergGRPC ¶
func NewGloombergGRPC(gb *gloomberg.Gloomberg, sw *seawa.SeaWatcher) *GloombergGRPC
new GloombergGRPC.
func (*GloombergGRPC) GetEvents ¶
func (gg *GloombergGRPC) GetEvents(req *gen.SubscriptionRequest, stream gen.Gloomberg_GetEventsServer) error
func (*GloombergGRPC) Subscribe ¶
func (gg *GloombergGRPC) Subscribe(_ context.Context, req *gen.SubscriptionRequest) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.