Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ Get
Method
Get
pkg/session/session.go:45–45 ·
view source on GitHub ↗
Get 获取指定 key 的值 如果 key 不存在,返回 ErrStateKeyNotExist
(key string)
Source
from the content-addressed store, hash-verified
43
// Get 获取指定 key 的值
44
// 如果 key 不存在,返回 ErrStateKeyNotExist
45
Get(key string) (any, error)
46
47
// Set 设置 key-value,覆盖已存在的值
48
Set(key string, value any) error
Callers
9
TestInMemoryService_GetState
Function · 0.65
TestPostgresService_Create
Function · 0.65
TestPostgresService_Delete
Function · 0.65
TestMySQLService_Create
Function · 0.65
TestMySQLService_Delete
Function · 0.65
TestService
Function · 0.65
TestState
Function · 0.65
TestDatabasePersistence
Function · 0.65
WorkflowDemoGetRunHandler
Method · 0.65
Calls
no outgoing calls
Tested by
8
TestInMemoryService_GetState
Function · 0.52
TestPostgresService_Create
Function · 0.52
TestPostgresService_Delete
Function · 0.52
TestMySQLService_Create
Function · 0.52
TestMySQLService_Delete
Function · 0.52
TestService
Function · 0.52
TestState
Function · 0.52
TestDatabasePersistence
Function · 0.52