configs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfRequest

type ConfRequest struct {
	TestValue1 int `request:"query" json:"tv1"`
}

func (ConfRequest) CacheKey

func (c ConfRequest) CacheKey() string

func (ConfRequest) Info

type ConfService

type ConfService struct {
	CacheHitCounter *big.Int
	gkBoot.BasicService
}

func NewConfService

func NewConfService() *ConfService

func (ConfService) Execute

func (c ConfService) Execute(ctx context.Context, request interface{}) (response interface{}, err error)

func (ConfService) Metrics

func (c ConfService) Metrics() *metrics.MappedMetrics

func (ConfService) UpdateMetrics

func (c ConfService) UpdateMetrics(
	ctx context.Context,
	request interface{},
	response interface{},
	startTime time.Time,
	mappedMetrics *metrics.MappedMetrics,
)

Jump to

Keyboard shortcuts

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