livebroadcastd

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AABroadcastRead = fsoauthz.AABroadcastRead
View Source
const ChannelAllAggregateSignals = "allaggsig"
View Source
const ConfigMaxPendingSignalsLen = 4 * 1024
View Source
const ConfigUpdatesQueueSize = 100

Variables

This section is empty.

Functions

This section is empty.

Types

type Journals

type Journals struct {
	Main               *events.Journal
	Registry           *events.Journal
	Repos              *events.Journal
	Workflows          *events.Journal
	EphemeralWorkflows *events.Journal
}

type Logger

type Logger interface {
	Infow(msg string, kv ...interface{})
	Warnw(msg string, kv ...interface{})
	Errorw(msg string, kv ...interface{})
}

type Server

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

func New

func New(
	ctx context.Context,
	lg Logger,
	authn auth.Authenticator,
	authz auth.Authorizer,
	journals *Journals,
) *Server

func (*Server) AggregateSignals

func (srv *Server) AggregateSignals(
	req *pb.AggregateSignalsI,
	stream pb.LiveBroadcast_AggregateSignalsServer,
) error

Jump to

Keyboard shortcuts

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