localizer

package
v1.15.9 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Overview

Package localizer is meant to contain useful helper functions, variables, and constants in order to better programatically interact with localizer.

Index

Constants

View Source
const Socket = "/var/run/localizer.sock"

Socket is the communication endpoint that the localizer server is listening on.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context, opts ...grpc.DialOption) (client api.LocalizerServiceClient,
	closer func(), err error)

Connect returns a new instance of LocalizerServiceClient given a gRPC client connection (returned from grpc.Dial*).

func IsRunning

func IsRunning() bool

IsRunning checks to see if the localizer socket exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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