grpc_clients

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 5 Imported by: 0

README

grpc-clients

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	User *UserClient
}

func NewClients

func NewClients(
	userServiceAddress string,
) (*Clients, error)

type UserClient

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

func (UserClient) CheckAccessToken

func (c UserClient) CheckAccessToken(
	ctx context.Context,
	token string,
) (bool, error)

func (UserClient) GetUserById

func (c UserClient) GetUserById(
	ctx context.Context,
	id string,
) error

func (UserClient) GetUsersByIds

func (c UserClient) GetUsersByIds(
	ctx context.Context,
	ids []string,
) error

Jump to

Keyboard shortcuts

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