network

package
v0.0.0-...-3d01394 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDataStoreGrpc

type UserDataStoreGrpc struct {
	TS     chrono.TimeStamp
	Client func() (userinfo.UserInfoClient, error)
}

UserDataStoreGrpc is responsible for implementing the UserDataStore interface using grpc

func (*UserDataStoreGrpc) FindByID

func (uds *UserDataStoreGrpc) FindByID(ID int64) (*model.User, error)

FindByID is responsible for obtaining an user according to the given identifier

Jump to

Keyboard shortcuts

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