serverGRPC

package
v0.0.0-...-5ecf4e5 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceGRPC

type ServiceGRPC struct {
	ServiceName        string
	Logger             *logrus.Logger
	WaitTaskFromSystem chan bool
	// contains filtered or unexported fields
}

ServiceGRPC basic service structure

func (*ServiceGRPC) Close

func (service *ServiceGRPC) Close() error

Close - executed at the end of the service

func (*ServiceGRPC) Name

func (service *ServiceGRPC) Name() string

Name - returns the service name

func (*ServiceGRPC) New

func (service *ServiceGRPC) New() error

New - the function is executed when the service is initialized

Jump to

Keyboard shortcuts

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