grpcapi

package
v0.0.0-...-7ed3587 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const TracerNameUsersManager = "users-manager-grpcapi"

Variables

This section is empty.

Functions

func CreateServer

func CreateServer(grpcServer *grpc.Server, dbConn *sqlx.DB,
	newTxIDCh, cancelTxIDCh chan string,
) (*grpc.Server, error)

Types

type DistributedTxService

type DistributedTxService struct {
	distributedTxPb.UnimplementedDistributedTxServiceServer
	// contains filtered or unexported fields
}

func (*DistributedTxService) Commit

func (*DistributedTxService) Rollback

type UsersService

type UsersService struct {
	usersPb.UnimplementedUsersServer
	// contains filtered or unexported fields
}

func (*UsersService) CreateUser

func (us *UsersService) CreateUser(ctx context.Context, newUser *usersPb.NewUser) (*usersPb.CreatedUser, error)

Jump to

Keyboard shortcuts

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