Documentation ¶
Index ¶
- type Wrapper
- func (wrapper *Wrapper) CloseKafkaConn()
- func (wrapper *Wrapper) ClosePsqlConn()
- func (wrapper *Wrapper) FirebaseApp() (*firebase.App, error)
- func (wrapper *Wrapper) GrpcServer() (*grpc.Server, error)
- func (wrapper *Wrapper) KafkaConnConsumer() (*kafka.Consumer, error)
- func (wrapper *Wrapper) KafkaConnProducer() (*kafka.Producer, error)
- func (wrapper *Wrapper) OpenFirebaseApp() error
- func (wrapper *Wrapper) OpenGrpcServer(ifc, port string) error
- func (wrapper *Wrapper) OpenGrpcTLSServer(ifc, port, cert, key string) error
- func (wrapper *Wrapper) OpenKafkaConn() error
- func (wrapper *Wrapper) OpenKafkaConnConsumer(server, groupId, autoOffsetReset string) error
- func (wrapper *Wrapper) OpenKafkaConnProducer() error
- func (wrapper *Wrapper) OpenPsqlConn(host, port, name, schema, user, password string) error
- func (wrapper *Wrapper) PsqlConn() (*gorm.DB, error)
- func (wrapper *Wrapper) ServeGrpcServer() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper type
func (*Wrapper) CloseKafkaConn ¶ added in v1.4.0
func (wrapper *Wrapper) CloseKafkaConn()
Closes kafka connection
func (*Wrapper) FirebaseApp ¶ added in v1.2.0
Returns firebase app
func (*Wrapper) GrpcServer ¶
Returns grpc server
func (*Wrapper) KafkaConnConsumer ¶ added in v1.4.0
Returns kafka connection consumer
func (*Wrapper) KafkaConnProducer ¶ added in v1.4.0
Returns kafka connection producer
func (*Wrapper) OpenFirebaseApp ¶ added in v1.2.0
Opens firebase app
func (*Wrapper) OpenGrpcServer ¶
Opens grpc server
func (*Wrapper) OpenGrpcTLSServer ¶ added in v1.3.1
Opens grpc TLS server
func (*Wrapper) OpenKafkaConn ¶ added in v1.4.0
Opens kafka connection both consumer and producer
func (*Wrapper) OpenKafkaConnConsumer ¶ added in v1.4.0
Opens kafka connection consumer
func (*Wrapper) OpenKafkaConnProducer ¶ added in v1.4.0
Opens kafka connection producer
func (*Wrapper) OpenPsqlConn ¶
Opens psql server
func (*Wrapper) ServeGrpcServer ¶
Serves grpc server
Click to show internal directories.
Click to hide internal directories.