proposal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickhouseAdapter

type ClickhouseAdapter struct {
}

func (ClickhouseAdapter) GetCategoryID

func (c ClickhouseAdapter) GetCategoryID(pl Payload) uint32

func (ClickhouseAdapter) GetInsertQuery

func (c ClickhouseAdapter) GetInsertQuery() string

func (ClickhouseAdapter) Values

func (c ClickhouseAdapter) Values(pl Payload) []any

type Consumer

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

func NewConsumer

func NewConsumer(nc *nats.Conn, st storage) *Consumer

func (*Consumer) Start

func (c *Consumer) Start(ctx context.Context) error

type Payload

type Payload struct {
	Action   string
	Proposal *core.ProposalPayload
}

Jump to

Keyboard shortcuts

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