api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler is an struct that contains service and functions to handle in API.

func NewHandler

func NewHandler(service core.CrawlerService) Handler

NewHandler is a constructor to create a new instance of Handler.

type Server

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

Server is an structure to support the API.

func NewServer

func NewServer() Server

NewServer create a new instante of Server structure.

func (Server) Start

func (s Server) Start()

Start initialize the API.

Jump to

Keyboard shortcuts

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