Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheableRequest ¶
type CacheableRequest struct { TestValue1 int `request:"header!" alias:"Test-Value-1" json:"tv1"` TestValue2 string `request:"header!" alias:"Test-Value-2" json:"tv2"` }
func (CacheableRequest) CacheKey ¶
func (c CacheableRequest) CacheKey() string
func (CacheableRequest) Info ¶
func (c CacheableRequest) Info() request.HttpRouteInfo
type CacheableResponse ¶
type CacheableService ¶
type CacheableService struct { CacheHitCount *big.Int gkBoot.BasicService }
func NewCachableService ¶
func NewCachableService() *CacheableService
type NotCacheableRequest ¶
type NotCacheableRequest struct { TestValue1 int `request:"header!" alias:"Test-Value-1" json:"tv1"` TestValue2 string `request:"header!" alias:"Test-Value-2" json:"tv2"` }
func (NotCacheableRequest) Info ¶
func (c NotCacheableRequest) Info() request.HttpRouteInfo
type NotCacheableResponse ¶
type NotCacheableService ¶
type NotCacheableService struct { CacheHitCount *big.Int gkBoot.BasicService }
func NewNotCachableService ¶
func NewNotCachableService() *NotCacheableService
Click to show internal directories.
Click to hide internal directories.