transportgrpc

package
v0.0.0-...-53ff5f4 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Please, do not change functions names!

It is better for you if you do not change functions names! This file will never be overwritten.

DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListPtrTypesAccountToProto

func ListPtrTypesAccountToProto(as []*types.Account) ([]*pb.Account, error)

func ListPtrTypesPermissionToProto

func ListPtrTypesPermissionToProto(p []*types.Permission) ([]*pb.Permission, error)

func ListPtrTypesServiceToProto

func ListPtrTypesServiceToProto(ss []*types.Service) ([]*pb.Service, error)

func ListPtrTypesUserToProto

func ListPtrTypesUserToProto(users []*types.User) ([]*pb.User, error)

func NewGRPCClient

func NewGRPCClient(conn *grpc.ClientConn, addr string, opts ...grpckit.ClientOption) transport.EndpointsSet

func NewGRPCServer

func NewGRPCServer(endpoints *transport.EndpointsSet, opts ...grpc.ServerOption) pb.MgmtServer

func ProtoToListPtrTypesAccount

func ProtoToListPtrTypesAccount(protoAs []*pb.Account) ([]*types.Account, error)

func ProtoToListPtrTypesPermission

func ProtoToListPtrTypesPermission(protoP []*pb.Permission) ([]*types.Permission, error)

func ProtoToListPtrTypesService

func ProtoToListPtrTypesService(protoSs []*pb.Service) ([]*types.Service, error)

func ProtoToListPtrTypesUser

func ProtoToListPtrTypesUser(protoUsers []*pb.User) ([]*types.User, error)

func ProtoToPtrAccessAccess

func ProtoToPtrAccessAccess(protoAccess *pb.Access) (*access.Access, error)

func ProtoToPtrTypesAccount

func ProtoToPtrTypesAccount(protoA *pb.Account) (*types.Account, error)

func ProtoToPtrTypesPermission

func ProtoToPtrTypesPermission(protoP *pb.Permission) (*types.Permission, error)

func ProtoToPtrTypesService

func ProtoToPtrTypesService(protoS *pb.Service) (*types.Service, error)

func ProtoToPtrTypesUser

func ProtoToPtrTypesUser(protoUser *pb.User) (*types.User, error)

func PtrAccessAccessToProto

func PtrAccessAccessToProto(access *access.Access) (*pb.Access, error)

func PtrTypesAccountToProto

func PtrTypesAccountToProto(a *types.Account) (*pb.Account, error)

func PtrTypesPermissionToProto

func PtrTypesPermissionToProto(p *types.Permission) (*pb.Permission, error)

func PtrTypesServiceToProto

func PtrTypesServiceToProto(s *types.Service) (*pb.Service, error)

func PtrTypesUserToProto

func PtrTypesUserToProto(user *types.User) (*pb.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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