Documentation
¶
Index ¶
Constants ¶
View Source
const ( NsBroadcast = "broadcast" BroadcastAll = "all" )
View Source
const AABroadcastRead = fsoauthz.AABroadcastRead
View Source
const AABroadcastWrite = fsoauthz.AABroadcastWrite
View Source
const MaxPostBatchLen = 100
View Source
const PostQueueLen = 200
Variables ¶
View Source
var ErrPostQueueFull = errors.New("post queue full")
Functions ¶
This section is empty.
Types ¶
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, names *shorteruuid.Names, broadcastJ *events.Journal, ) *Server
func (*Server) Events ¶
func (srv *Server) Events( req *pb.BroadcastEventsI, stream pb.Broadcast_EventsServer, ) error
func (*Server) PostGitRefUpdated ¶
func (srv *Server) PostGitRefUpdated( ctx context.Context, i *pb.PostGitRefUpdatedI, ) (*pb.PostGitRefUpdatedO, error)
Click to show internal directories.
Click to hide internal directories.