core

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package core provides core logic for NVGD.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *config.Config) error

Run runs NVGD server.

Types

type Filters

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

Filters is set of filters.

type Server

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

Server represents NVGD server.

func New

func New(c *config.Config) (*Server, error)

New creates a server instance.

func (*Server) Run

func (s *Server) Run() error

Run runs NGVD server.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(res http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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