rpc

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connection

func Connection(address string) (conn *grpc.ClientConn, err error)

Connection returns the connection with grpc dial

func ContextError

func ContextError(ctx context.Context) error

ContextError helps to verify the context error

func EntityToFILE

func EntityToFILE(f entity.Entity) *pb.FILE

EntityToFILE converts the desire object

func FILEToEntity

func FILEToEntity(f *pb.FILE) entity.Entity

FILEToEntity - convert FILE into entity

func LogError

func LogError(err error) error

LogError helper method to log the error and returns the error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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