remoteservice

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package remoteservice provides a service for communicating between instances remotely.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowPrimaryInstance

func ShowPrimaryInstance(port int) error

ShowPrimaryInstance sends a request to the primary instance to show it. This function should be called by a secondary instance.

func Start

func Start(port int, showInstance func()) (stop func(), err error)

Start starts the remote service.

Types

type RemoteService

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

RemoteService is a RPC service allows to communicate between multiple instances of EVE Buddy.

func (RemoteService) ShowInstance

func (sw RemoteService) ShowInstance(request string, reply *string) error

ShowInstance shows the instance that is running the service.

Jump to

Keyboard shortcuts

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