socketapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const IntegrationName = "socket-api"

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server runtime for socket API server.

func NewServer

func NewServer(emitter emitter.Emitter, port int) *Server

NewServer creates a new socket API server.

func (*Server) Serve

func (s *Server) Serve(ctx context.Context)

Serve serves socket API requests.

func (*Server) WaitUntilReady

func (s *Server) WaitUntilReady()

WaitUntilReady blocks the call until server is ready to accept connections.

Jump to

Keyboard shortcuts

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