example

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: GPL-3.0 Imports: 23 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_example_state_proto protoreflect.FileDescriptor

Functions

func WordCount added in v0.0.4

func WordCount() runtime.Runtime

func WordCountPersistenceId

func WordCountPersistenceId(ctx context.Context, m message.Message[string, string]) (string, error)

func WordJoin added in v0.0.4

func WordJoin() runtime.Runtime

func WordJoinPersistenceId

func WordJoinPersistenceId(ctx context.Context, m message.Message[string, string]) (string, error)

func WordMaterialise added in v0.0.4

func WordMaterialise() runtime.Runtime

func WordRemap added in v0.0.4

func WordRemap() runtime.Runtime

Types

type FlowsMaterialised added in v0.0.4

type FlowsMaterialised struct {
	bun.BaseModel `bun:"table:flows_materialised"`
	Id            string `bun:",pk"`
	KeyContent    string
	ValueContent  string
	TimestampMs   int64
}

func FlowsMaterialisedMap added in v0.0.4

func FlowsMaterialisedMap(c context.Context, m message.Message[string, string]) ([]FlowsMaterialised, error)

type TestResponse

type TestResponse struct {
	Message string
}

type WordCountState

type WordCountState struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*WordCountState) Descriptor deprecated

func (*WordCountState) Descriptor() ([]byte, []int)

Deprecated: Use WordCountState.ProtoReflect.Descriptor instead.

func (*WordCountState) GetCount

func (x *WordCountState) GetCount() int64

func (*WordCountState) ProtoMessage

func (*WordCountState) ProtoMessage()

func (*WordCountState) ProtoReflect

func (x *WordCountState) ProtoReflect() protoreflect.Message

func (*WordCountState) Reset

func (x *WordCountState) Reset()

func (*WordCountState) String

func (x *WordCountState) String() string

type WordJoinState

type WordJoinState struct {
	Count int64  `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Word  string `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"`
	// contains filtered or unexported fields
}

func (*WordJoinState) Descriptor deprecated

func (*WordJoinState) Descriptor() ([]byte, []int)

Deprecated: Use WordJoinState.ProtoReflect.Descriptor instead.

func (*WordJoinState) GetCount

func (x *WordJoinState) GetCount() int64

func (*WordJoinState) GetWord

func (x *WordJoinState) GetWord() string

func (*WordJoinState) ProtoMessage

func (*WordJoinState) ProtoMessage()

func (*WordJoinState) ProtoReflect

func (x *WordJoinState) ProtoReflect() protoreflect.Message

func (*WordJoinState) Reset

func (x *WordJoinState) Reset()

func (*WordJoinState) String

func (x *WordJoinState) String() string

Jump to

Keyboard shortcuts

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