krps

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SendReqRecordSt

type SendReqRecordSt struct {
	Key   string `json:"key"`
	Value any    `json:"value"`
}

type SendReqSt

type SendReqSt struct {
	Records []SendReqRecordSt `json:"records"`
}

type St

type St struct {
	// contains filtered or unexported fields
}

func New

func New(lg logger.Lite, httpc httpc.HttpC) *St

func (*St) SendJson

func (s *St) SendJson(topic, key string, value any) error

func (*St) SendManyJson

func (s *St) SendManyJson(topic, key string, value []any) error

Jump to

Keyboard shortcuts

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