getTypeKey returns the Redis key for a specific hook type set. Parameters: - hookType: The type of hook. Returns: - string: The Redis key for the hook type set.
(hookType HookType)
| 384 | // Returns: |
| 385 | // - string: The Redis key for the hook type set. |
| 386 | func getTypeKey(hookType HookType) string { |
| 387 | switch hookType { |
| 388 | case PreTransaction: |
| 389 | return preHookKeyPrefix |
| 390 | case PostTransaction: |
| 391 | return postHookKeyPrefix |
| 392 | default: |
| 393 | return hookKeyPrefix |
| 394 | } |
| 395 | } |
no outgoing calls
no test coverage detected