server

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Lis is the main HTTP listener bound to some configured host and port.
	Lis net.Listener
	// Log is the structured logger passed down the stack.
	Log logger.Interface
	// Psh is the webhook event handler for push events. This event handler allows
	// us to cache real time data about commit hashes pushed across the entire
	// Github organization.
	Psh *githubevents.EventHandler
	// Mid are the protocol specific transport layer middlewares executed before
	// any RPC handler.
	Mid []mux.MiddlewareFunc
}

type Server

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

func New

func New(c Config) *Server

func (*Server) Daemon

func (s *Server) Daemon()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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