repo

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package repo contains the repository for the gateway

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayConfGeneratorJob

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

GatewayConfGeneratorJob is the job to generate pipy policy json

func (*GatewayConfGeneratorJob) GetDoneCh

func (job *GatewayConfGeneratorJob) GetDoneCh() <-chan struct{}

GetDoneCh returns the channel, which when closed, indicates the job has been finished.

func (*GatewayConfGeneratorJob) JobName

func (job *GatewayConfGeneratorJob) JobName() string

JobName implementation for this job, for logging purposes

func (*GatewayConfGeneratorJob) Run

func (job *GatewayConfGeneratorJob) Run()

Run is the logic unit of job

type Server

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

Server is the gateway server

func NewServer

func NewServer(cfg configurator.Configurator, msgBroker *messaging.Broker, cache cache.Cache) *Server

NewServer creates a new gateway server

func (*Server) BroadcastListener

func (s *Server) BroadcastListener()

BroadcastListener listens for broadcast messages from the message broker

Jump to

Keyboard shortcuts

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