resume

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 11 Imported by: 0

README

orders

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	*grpc.ClientConn
	proto.ResumeServiceClient
	grpc_health_v1.HealthClient
	// contains filtered or unexported fields
}

Api is profile-service GRPC Api structure with client Connection

func (*Api) CreateResume

func (api *Api) CreateResume(res *models.Resume) (err error)

func (*Api) GetResumes added in v0.0.3

func (api *Api) GetResumes() ([]*models.Resume, error)

func (*Api) HealthCheck added in v0.0.4

func (api *Api) HealthCheck() error

type IResumeAPI

type IResumeAPI interface {
	CreateResume(res *models.Resume) error

	GetResumes() ([]*models.Resume, error)

	HealthCheck() error

	// Close GRPC Api connection
	Close() error
}

func New

func New(addr string) (IResumeAPI, error)

New create new Battles Api instance

Directories

Path Synopsis
protocols

Jump to

Keyboard shortcuts

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