rpc

package
v0.0.0-...-dfa6bd9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	io.Closer
	Call(serviceMethod string, args interface{}, reply interface{}) error
}

type LoggingClient

type LoggingClient struct {
	Client
	// contains filtered or unexported fields
}

func NewLoggingClient

func NewLoggingClient(serverName string, wrappedClient Client) *LoggingClient

func (*LoggingClient) Call

func (c *LoggingClient) Call(serviceMethod string, request interface{}, response interface{}) error

type StackFrame

type StackFrame struct {
	File string `json:"file"`
	Line int    `json:"line"`
}

func NewStackTrace

func NewStackTrace(stackFrames []api.Stackframe) (trace []StackFrame)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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