Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ ID
Method
ID
pkg/session/session.go:16–16 ·
view source on GitHub ↗
ID 返回会话的唯一标识符
()
Source
from the content-addressed store, hash-verified
14
type
Session
interface
{
15
// ID 返回会话的唯一标识符
16
ID() string
17
18
// AppName 返回应用名称
19
AppName() string
Callers
15
TestInMemoryService_Create
Function · 0.65
TestInMemoryService_Get
Function · 0.65
TestInMemoryService_Delete
Function · 0.65
TestInMemoryService_AppendEvent
Function · 0.65
TestInMemoryService_GetEvents
Function · 0.65
TestInMemoryService_GetState
Function · 0.65
TestInMemoryService_Concurrency
Function · 0.65
TestInMemoryService_StateScopes
Function · 0.65
TestService
Function · 0.65
TestEvents
Function · 0.65
TestState
Function · 0.65
TestDatabasePersistence
Function · 0.65
Implementers
2
inMemorySession
pkg/session/inmemory.go
sqliteSession
pkg/session/sqlite/store.go
Calls
no outgoing calls
Tested by
13
TestInMemoryService_Create
Function · 0.52
TestInMemoryService_Get
Function · 0.52
TestInMemoryService_Delete
Function · 0.52
TestInMemoryService_AppendEvent
Function · 0.52
TestInMemoryService_GetEvents
Function · 0.52
TestInMemoryService_GetState
Function · 0.52
TestInMemoryService_Concurrency
Function · 0.52
TestInMemoryService_StateScopes
Function · 0.52
TestService
Function · 0.52
TestEvents
Function · 0.52
TestState
Function · 0.52
TestDatabasePersistence
Function · 0.52