channels

package
v0.0.0-...-ff628f3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppSession

func NewAppSession() *appSession

func NewBrowserSession

func NewBrowserSession() *browserSession

Types

type Channel

type Channel interface {
	GetType() ChannelType
}

type ChannelData

type ChannelData struct {
	Channel ChannelType `json:"channel,omitempty"`
}

type ChannelType

type ChannelType string
const (
	Browser ChannelType = "browser"
	App     ChannelType = "app"
)

type SdkEphemeralPublicKey

type SdkEphemeralPublicKey struct {
	Kty string `json:"kty,omitempty"`
	Crv string `json:"crv,omitempty"`
	X   string `json:"x,omitempty"`
	Y   string `json:"y,omitempty"`
}

type SdkInterfaceType

type SdkInterfaceType string
const (
	Native SdkInterfaceType = "native"
	Html   SdkInterfaceType = "html"
	Both   SdkInterfaceType = "both"
)

type UIElements

type UIElements string
const (
	Text         UIElements = "text"
	SingleSelect UIElements = "single_select"
	MultiSelect  UIElements = "multi_select"
	Oob          UIElements = "oob"
	HtmlOther    UIElements = "html_other"
)

Jump to

Keyboard shortcuts

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