server

package
v0.0.0-...-80338ce Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(addr string)

Types

type Config

type Config struct {
	MongoURI string
}

func LoadConfigFromEnv

func LoadConfigFromEnv() *Config

type Repo

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

func NewRepo

func NewRepo(repo string) (*Repo, error)

type Server

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

func (*Server) Activity

func (s *Server) Activity(c echo.Context) error

Track returns a 1x1 transparent gif pixel for tracking purpose

func (*Server) Githook

func (s *Server) Githook(c echo.Context) error

func (*Server) StageRelease

func (s *Server) StageRelease(c echo.Context) error

Allow us to view any branch of code from any accessible git repository

func (*Server) Track

func (s *Server) Track(c echo.Context) error

Track returns a 1x1 transparent gif pixel for tracking purpose

func (s *Server) VisitLink(c echo.Context) error

Allow us to view any branch of code from any accessible git repository

type StageBuild

type StageBuild struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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