domain

package
v0.0.0-...-f52bcce Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package domain domain entry point

Package domain domain entry point

Package domain domain entry point

Package domain domain entry point

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

func NewContext

func NewContext(trip_ trip.IService, user_ user.IService) *Context

type IDomainService

type IDomainService interface {
	// contains filtered or unexported methods
}

type Service

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

func NewService

func NewService(ctx *Context) *Service

func (Service) Context

func (s Service) Context() *Context

func (Service) Trip

func (s Service) Trip() trip.IService

func (Service) User

func (s Service) User() user.IService

Directories

Path Synopsis
entities
trip
Package trip The user fly trip reservations
Package trip The user fly trip reservations
trip/inputs/http/gin
Package gin input
Package gin input
trip/outputs/memory
Package memory is an output adapter to store entities in memory
Package memory is an output adapter to store entities in memory
trip/outputs/mongodb
Package mongodb is an output adapter to store entities in MongoDB
Package mongodb is an output adapter to store entities in MongoDB
trip/testing/mocks
Package mocks the service trip.Service for testing purpose
Package mocks the service trip.Service for testing purpose
user
Package user The user system
Package user The user system
user/inputs/http/gin
Package gin input
Package gin input
user/outputs/memory
Package memory is an output adapter to store entities in memory
Package memory is an output adapter to store entities in memory
user/outputs/mongodb
Package mongodb is an output adapter to store entities in MongoDB
Package mongodb is an output adapter to store entities in MongoDB
user/testing/mocks
Package mocks the service user.Service for testing purpose
Package mocks the service user.Service for testing purpose
inputs
testing
mocks
Package mocks the service domain.
Package mocks the service domain.
use_cases
booking_fly
Package booking_fly Fly reservation use case
Package booking_fly Fly reservation use case

Jump to

Keyboard shortcuts

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