Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GRPCDialer ¶
type GRPCDialer struct { StreamClientInterceptors []grpc.StreamClientInterceptor UnaryClientInterceptors []grpc.UnaryClientInterceptor // contains filtered or unexported fields }
func NewGRPCDialer ¶
func NewGRPCDialer(token string) *GRPCDialer
func (*GRPCDialer) Dial ¶
func (gd *GRPCDialer) Dial(endpoint string, insecure bool) (*grpc.ClientConn, error)
func (*GRPCDialer) DialAs ¶
func (gd *GRPCDialer) DialAs(endpoint string, insecure bool, userID string, systemRole *roles.SystemRole) (*grpc.ClientConn, error)
Click to show internal directories.
Click to hide internal directories.