Documentation ¶
Index ¶
- func AddLogHint(ctx context.Context, key string, value any)
- func New() []connect.Interceptor
- func NewAccessLogInterceptor() connect.UnaryInterceptorFunc
- func NewFixPreconditionParamsInterceptor() connect.UnaryInterceptorFunc
- func NewTraceInterceptor() connect.UnaryInterceptorFunc
- type PreconditionParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() []connect.Interceptor
func NewAccessLogInterceptor ¶
func NewAccessLogInterceptor() connect.UnaryInterceptorFunc
func NewFixPreconditionParamsInterceptor ¶
func NewFixPreconditionParamsInterceptor() connect.UnaryInterceptorFunc
func NewTraceInterceptor ¶
func NewTraceInterceptor() connect.UnaryInterceptorFunc
Types ¶
type PreconditionParams ¶
type PreconditionParams struct { RequestID uuid.UUID IdempotencyKey uuid.UUID // リクエストを受け取った現実世界での時刻 RequestedTime time.Time // サーバが現在時刻として認識する時刻 (現実世界と乖離しうる) Now time.Time }
func (PreconditionParams) TransactionContext ¶
func (p PreconditionParams) TransactionContext() transaction_context.TransactionContext
Click to show internal directories.
Click to hide internal directories.