Documentation ¶
Index ¶
- func BootstrapInit(mashupPath string, mashupApiHandler mashupsdk.MashupApiHandler, ...) *sdk.MashupContext
- func BootstrapInitWithMessageExt(mashupPath string, mashupApiHandler mashupsdk.MashupApiHandler, ...) *sdk.MashupContext
- func GetServerAuthToken() string
- func InitDialOptions(dialOption grpc.DialOption)
- type MashupClient
- func (c *MashupClient) CollaborateInit(ctx context.Context, in *sdk.MashupConnectionConfigs) (*sdk.MashupConnectionConfigs, error)
- func (c *MashupClient) GetElements(ctx context.Context, in *sdk.MashupEmpty) (*sdk.MashupDetailedElementBundle, error)
- func (c *MashupClient) OnDisplayChange(ctx context.Context, in *sdk.MashupDisplayBundle) (*sdk.MashupDisplayHint, error)
- func (s *MashupClient) Shutdown(ctx context.Context, in *sdk.MashupEmpty) (*sdk.MashupEmpty, error)
- func (c *MashupClient) TweakStates(ctx context.Context, in *sdk.MashupElementStateBundle) (*sdk.MashupElementStateBundle, error)
- func (c *MashupClient) UpsertElements(ctx context.Context, in *sdk.MashupDetailedElementBundle) (*sdk.MashupDetailedElementBundle, error)
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 ¶
func (c *MashupClient) CollaborateInit(ctx context.Context, in *sdk.MashupConnectionConfigs) (*sdk.MashupConnectionConfigs, error)
CollaborateInit - Implementation of the handshake. During the callback from the mashup, construct new more permanent set of credentials to be shared.
func (*MashupClient) GetElements ¶
func (c *MashupClient) GetElements(ctx context.Context, in *sdk.MashupEmpty) (*sdk.MashupDetailedElementBundle, error)
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 ¶
func (c *MashupClient) TweakStates(ctx context.Context, in *sdk.MashupElementStateBundle) (*sdk.MashupElementStateBundle, error)
func (*MashupClient) UpsertElements ¶
func (c *MashupClient) UpsertElements(ctx context.Context, in *sdk.MashupDetailedElementBundle) (*sdk.MashupDetailedElementBundle, error)
Click to show internal directories.
Click to hide internal directories.