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: 10 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 ListByteToProto

func ListByteToProto(pub []byte) ([]byte, error)

func ListPtrTypesPermissionToProto

func ListPtrTypesPermissionToProto(permissions []*types.Permission) ([]*pb.Permission, 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.ServiceServer

func ProtoToListByte

func ProtoToListByte(protoPub []byte) ([]byte, error)

func ProtoToListPtrTypesPermission

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

func ProtoToPtrTypesAccessToken

func ProtoToPtrTypesAccessToken(protoToken *pb.AccessToken) (*types.AccessToken, error)

func PtrTypesAccessTokenToProto

func PtrTypesAccessTokenToProto(token *types.AccessToken) (*pb.AccessToken, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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