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