profile

package
v0.0.0-...-376a73a Latest Latest
Warning

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

Go to latest
Published: Nov 11, 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 Profile

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

Profile implements the profile service

func NewProfile

func NewProfile(a string, p int, db *DatabaseSession, tr opentracing.Tracer) *Profile

NewProfile returns a new Profile service

func (*Profile) GetProfiles

func (s *Profile) GetProfiles(ctx context.Context, req *pb.Request) (*pb.Result, error)

GetProfiles returns hotel profiles for requested IDs

func (*Profile) Run

func (s *Profile) Run() error

Run starts the server

Jump to

Keyboard shortcuts

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