Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/compozy/agh
/ Encode
Method
Encode
internal/resources/codec.go:17–17 ·
view source on GitHub ↗
(spec T)
Source
from the content-addressed store, hash-verified
15
Kind() ResourceKind
16
DecodeAndValidate(ctx context.Context, scope ResourceScope, raw []byte) (T, error)
17
Encode(spec T) ([]byte, error)
18
MaxBytes() int
19
}
20
Callers
15
quoteJSONString
Function · 0.65
readOnlyTestSQLiteDSN
Function · 0.65
readOnlySQLiteDSN
Function · 0.65
stableID
Function · 0.65
sameEncodedSpec
Function · 0.65
buildURL
Method · 0.65
endpoint
Method · 0.65
FetchSSHAccess
Method · 0.65
writeJSON
Function · 0.65
ValidateAndCanonicalizeRaw
Method · 0.65
openLowBusyTestKernel
Function · 0.65
encodeValidatedSpec
Function · 0.65
Implementers
2
externalCodec
internal/resources/codec_external_test
hookBindingCodec
internal/daemon/hook_binding_resources
Calls
no outgoing calls
Tested by
15
readOnlyTestSQLiteDSN
Function · 0.52
endpoint
Method · 0.52
writeJSON
Function · 0.52
openLowBusyTestKernel
Function · 0.52
Encode
Method · 0.52
newMarketplaceTestServer
Function · 0.52
TestRuntimeHelpersCoverRequestAndTimingUtilities
Function · 0.52
writeJSONResponse
Function · 0.52
TestOAuthPKCELifecycleWithRefreshAndLogout
Function · 0.52
writeJSON
Function · 0.52
transportHarnessLogsPath
Function · 0.52
TestMemoryHandlersAndHelpers
Function · 0.52