Documentation ¶
Index ¶
- func CloseChannelsConnection(conn *grpc.ClientConn)
- func CloseMessageStoreConnection(conn *grpc.ClientConn)
- func GetChannelsConnection(c *gin.Context, df DialFactory) *grpc.ClientConn
- func GetMessageStoreConnection(c *gin.Context, df DialFactory) *grpc.ClientConn
- func GetSignature(input, key string) string
- type DialFactory
- type DialFactoryImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseChannelsConnection ¶
func CloseChannelsConnection(conn *grpc.ClientConn)
func CloseMessageStoreConnection ¶
func CloseMessageStoreConnection(conn *grpc.ClientConn)
func GetChannelsConnection ¶
func GetChannelsConnection(c *gin.Context, df DialFactory) *grpc.ClientConn
func GetMessageStoreConnection ¶
func GetMessageStoreConnection(c *gin.Context, df DialFactory) *grpc.ClientConn
func GetSignature ¶
Types ¶
type DialFactory ¶
type DialFactory interface { GetMessageStoreCon() (*grpc.ClientConn, error) GetChannelsAPICon() (*grpc.ClientConn, error) }
func MakeDialFactory ¶
func MakeDialFactory(conf *config.Config) DialFactory
type DialFactoryImpl ¶
type DialFactoryImpl struct {
// contains filtered or unexported fields
}
func (DialFactoryImpl) GetChannelsAPICon ¶
func (dfi DialFactoryImpl) GetChannelsAPICon() (*grpc.ClientConn, error)
func (DialFactoryImpl) GetMessageStoreCon ¶
func (dfi DialFactoryImpl) GetMessageStoreCon() (*grpc.ClientConn, error)
Click to show internal directories.
Click to hide internal directories.