rpc

package
v2024.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package rpc contains wrapper around RPC client ONLY for internal usage. Should be in sync with the RPC plugin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dialer

func Dialer(addr string) (net.Conn, error)

Dialer creates rpc socket Dialer.

func ExpandVal added in v2024.1.2

func ExpandVal(s string, mapping func(string) string) string

ExpandVal replaces ${var} or $var in the string based on the mapping function. For example, os.ExpandEnv(s) is equivalent to os.Expand(s, os.Getenv).

func NewClient

func NewClient(cfg string, flags []string) (*rpc.Client, error)

NewClient creates client ONLY for internal usage (communication between our application with RR side). Client will be connected to the RPC.

Types

This section is empty.

Jump to

Keyboard shortcuts

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