client

package
v0.0.0-...-6bcc447 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package client is responsible for client communication

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FarmerbotClient

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

FarmerbotClient for interacting with the farmerbot

func NewFarmerClient

func NewFarmerClient(zBusClient zbus.Client) *FarmerbotClient

NewFarmerClient creates a new client

func (*FarmerbotClient) Call

func (f *FarmerbotClient) Call(ctx context.Context, fn string, data []interface{}, result interface{}) error

Call calls a specific cmd with its date and returns the result

Jump to

Keyboard shortcuts

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