app

package
v0.0.0-...-9cad258 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AService

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

func NewAService

func NewAService(svc DomainService) *AService

func (*AService) DoIt

func (s *AService) DoIt(ctx context.Context, r *servicea.Request) (*emptypb.Empty, error)

type DomainService

type DomainService interface {
	DoIt(context.Context, string) error
}

type ServiceDeps

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

func NewServiceDeps

func NewServiceDeps(
	queries *postgres.Queries,
	client serviceb.BService,
) *ServiceDeps

func (*ServiceDeps) CallServiceB

func (s *ServiceDeps) CallServiceB(ctx context.Context, name string) error

func (*ServiceDeps) SaveX

func (s *ServiceDeps) SaveX(ctx context.Context, x domain.X) error

Jump to

Keyboard shortcuts

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