service

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 4 Imported by: 0

README

  • In this package, you put your application handlers, servers or clients. Example:
    • src/service/rest/, to handle REST requests from client
    • src/service/grpc/, to handle gRPC requests from client
    • src/service/cron/, to handle CRON
    • etc...
  • Also in this package, you put presenters or anything to be done between client and your application.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func InitService

func InitService(cfg *config.Config, adapterClient *adapter.Adapter, useCase *usecase.UseCase) (*Service, error)

InitService initializes services

func (*Service) Serve

func (s *Service) Serve()

Serve serves & runs the service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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