client

package
v0.0.0-...-b57b4d2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootstrapInit

func BootstrapInit(mashupPath string,
	mashupApiHandler mashupsdk.MashupApiHandler,
	envParams []string,
	params []string,
	insecure *bool) *sdk.MashupContext

func BootstrapInitWithMessageExt

func BootstrapInitWithMessageExt(mashupPath string,
	mashupApiHandler mashupsdk.MashupApiHandler,
	envParams []string,
	params []string,
	insecure *bool, maxMessageLength int) *sdk.MashupContext

BootstrapInitWithMessageExt - main entry point for bootstrapping the sdk. This will fork a mashup, connect with it, and handshake with it to establish shared set of credentials to be used in future transactions.

func GetServerAuthToken

func GetServerAuthToken() string

func InitDialOptions

func InitDialOptions(dialOption grpc.DialOption)

Types

type MashupClient

type MashupClient struct {
	sdk.UnimplementedMashupServerServer
	// contains filtered or unexported fields
}

func (*MashupClient) CollaborateInit

CollaborateInit - Implementation of the handshake. During the callback from the mashup, construct new more permanent set of credentials to be shared.

func (*MashupClient) GetElements

Shutdown -- handles request to shut down the mashup.

func (*MashupClient) OnDisplayChange

func (c *MashupClient) OnDisplayChange(ctx context.Context, in *sdk.MashupDisplayBundle) (*sdk.MashupDisplayHint, error)

func (*MashupClient) Shutdown

func (s *MashupClient) Shutdown(ctx context.Context, in *sdk.MashupEmpty) (*sdk.MashupEmpty, error)

Shutdown -- handles request to shut down the mashup.

func (*MashupClient) TweakStates

Jump to

Keyboard shortcuts

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