Documentation ¶
Index ¶
Constants ¶
View Source
const ( SDKSemverVersion = "v0.0.1" SDKLanguage = "Go" )
Variables ¶
This section is empty.
Functions ¶
func ReleaseCore ¶
func ReleaseCore()
Types ¶
type InnerSDK ¶
type InnerSDK struct {
Core Core
}
InnerSDK represents the sdk-core client on which calls will be made.
type Invocation ¶
Invocation holds the information required for invoking SDK functionality.
type SDKRuntimeInfo ¶
type SDKRuntimeInfo struct { SDKVersion string `json:"sdkVersion"` SDKLanguage string `json:"sdkLanguage"` SDKLanguageVersion string `json:"sdkLanguageVersion"` SystemOS string `json:"os"` SystemOSVersion string `json:"osVersion"` SystemArch string `json:"architecture"` }
SDKRuntimeInfo contains information required for sdk runtime
func NewDefaultSDKRuntimeInfo ¶
func NewDefaultSDKRuntimeInfo() SDKRuntimeInfo
type SharedCore ¶
type SharedCore struct {
// contains filtered or unexported fields
}
SharedCore implements Core in such a way that all created client instances share the same core resources.
func GetSharedCore ¶
func GetSharedCore() *SharedCore
GetSharedCore initializes the shared core once and returns the already existing one on subsequent calls.
func (*SharedCore) Invoke ¶
func (c *SharedCore) Invoke(ctx context.Context, invocation Invocation) ([]byte, error)
Invoke calls specified logic from core
Click to show internal directories.
Click to hide internal directories.