cache

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterceptorCache

type InterceptorCache[TReq proto.Message, TRes proto.Message] struct {
	// contains filtered or unexported fields
}

func NewCacheInterceptor

func NewCacheInterceptor[TReq proto.Message, TRes proto.Message]() *InterceptorCache[TReq, TRes]

func (*InterceptorCache[TReq, TRes]) InterceptMethod

func (s *InterceptorCache[TReq, TRes]) InterceptMethod(next *types.MethodInvocation[TReq, TRes]) *types.MethodInvocation[TReq, TRes]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL