adapter

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthDTOToDomain

func AuthDTOToDomain(auth *dto.Auth) *domain.Auth

AuthDTOToDomain converts the given Auth from DTO representation to domain representation.

func HealthDomainToDTO

func HealthDomainToDTO(health *domain.Health) *dto.Health

HealthDomainToDTO converts the given Health from domain representation to DTO representation.

func InstantMeetingDTOToDomain

func InstantMeetingDTOToDomain(meeting *dto.InstantMeeting) *domain.Meeting

InstantMeetingDTOToDomain converts the given instant Meeting from DTO representation to domain representation.

func InviteDomainToDTO

func InviteDomainToDTO(invite *domain.Invite) *dto.Invite

InviteDomainToDTO converts the given Invite from domain representation to DTO representation.

func InviteRequestDTOToDomain

func InviteRequestDTOToDomain(inviteRequest *dto.InviteRequest) *domain.InviteRequest

InviteRequestDTOToDomain converts the given InviteRequest from DTO representation to domain representation.

func MeetingDomainToDTO

func MeetingDomainToDTO(meeting *domain.Meeting) *dto.Meeting

MeetingDomainToDTO converts the given Meeting from domain representation to DTO representation.

func MeetingPageDomainToDTO

func MeetingPageDomainToDTO(page *domain.Page) *dto.MeetingPage

MeetingPageDomainToDTO converts the given Page from domain representation to MeetingPage representation.

func MeetingPlatformDomainToDTO

func MeetingPlatformDomainToDTO(meetingPlatform domain.MeetingPlatform) *dto.MeetingPlatform

MeetingPlatformDomainToDTO converts the given MeetingPlatform from domain representation to DTO representation.

func PageRequestDTOToDomain

func PageRequestDTOToDomain(pageReq *dto.PageRequest) *domain.PageRequest

PageRequestDTOToDomain conversts the given PageRequest from DTO representation to domain representation.

func ScheduledMeetingDTOToDomain

func ScheduledMeetingDTOToDomain(meeting *dto.Meeting) *domain.Meeting

ScheduledMeetingDTOToDomain converts the given scheduled Meeting from DTO representation to domain representation.

func TokenDTOToDomain

func TokenDTOToDomain(token *dto.Token) *domain.AuthToken

TokenDTOToDomain converts the given AuthToken from DTO representation to domain representation.

func TokenDomainToDTO

func TokenDomainToDTO(token *domain.AuthToken) *dto.Token

TokenDomainToDTO converts the given AuthToken from domain representation to DTO representation.

func UserDTOToDomain

func UserDTOToDomain(user *dto.User) *domain.User

UserDTOToDomain converts the given User from DTO representation to domain representation.

func UserDomainToDTO

func UserDomainToDTO(user *domain.User) *dto.User

UserDomainToDTO converts the given User from domain representation to DTO representation. Note that the returned representation will NEVER contain the password hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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