strmsub

package
v0.0.0-...-d64eb31 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StreamSub

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

func NewStreamSub

func NewStreamSub(biz streambiz.StreamBiz, serviceCtx srvctx.ServiceContext) *StreamSub

func (*StreamSub) EndStream

func (s *StreamSub) EndStream() subengine.ConsumerJob

func (*StreamSub) StartStream

func (s *StreamSub) StartStream() subengine.ConsumerJob

func (*StreamSub) UpdateStreamViewCount

func (s *StreamSub) UpdateStreamViewCount() subengine.ConsumerJob

type UpdateStreamViewCountData

type UpdateStreamViewCountData struct {
	Id        float64 `json:"id"`
	View      float64 `json:"view"`
	TimeStamp string  `json:"timeStamp"`
}

Jump to

Keyboard shortcuts

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