ssapigo

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

edgehub-ssapi-go

a go server side api client for edgehub

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ssapiv1.ServerSideApiClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url string, withSSL bool) (*Client, error)

func (*Client) Survey

func (c *Client) Survey(ctx context.Context, topic string, route string, req proto.Message, waitReplies int) (*ssapiv1.SurveyReply, error)

type ReplyDecodeFn

type ReplyDecodeFn func(payload []byte) (proto.Message, error)

Jump to

Keyboard shortcuts

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