MCPcopy Index your code
hub / github.com/coder/coder / LogsNotifyChannel

Function LogsNotifyChannel

codersdk/agentsdk/agentsdk.go:766–768  ·  view source on GitHub ↗

LogsNotifyChannel returns the channel name responsible for notifying of new logs.

(agentID uuid.UUID)

Source from the content-addressed store, hash-verified

764// LogsNotifyChannel returns the channel name responsible for notifying
765// of new logs.
766func LogsNotifyChannel(agentID uuid.UUID) string {
767 return fmt.Sprintf("agent-logs:%s", agentID)
768}
769
770type LogsNotifyMessage struct {
771 CreatedAfter int64 `json:"created_after"`

Callers 2

workspaceAgentLogsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected