worker

package
v0.0.0-...-76fc54f Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

type Worker struct {
	Router *gin.Engine
	Port   string
}

Worker is the instance of this service.

func New

func New() *Worker

New creates and setup the instance of this service.

func (*Worker) Run

func (a *Worker) Run()

Run is the method to launch HTTP server for this service.

Jump to

Keyboard shortcuts

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