Documentation ¶
Index ¶
- Constants
- func AllDialOptions(grpcConfig config.GrpcConfiguration, options ...grpc.DialOption) []grpc.DialOption
- func GrpcChannelOptionsFromGrpcConfig(grpcConfig config.GrpcConfiguration) []grpc.DialOption
- func TransportCredentialsChannelOption() grpc.DialOption
- type AuthGrpcManager
- type DataGrpcManager
- type LeaderboardGrpcManager
- type PingGrpcManager
- type ScsControlGrpcManager
- type StoreGrpcManager
- type TokenGrpcManager
- type TopicGrpcManager
Constants ¶
View Source
const AuthPort = ":443"
View Source
const CachePort = ":443"
View Source
const ControlPort = ":443"
View Source
const LeaderboardPort = ":443"
View Source
const PingPort = ":443"
View Source
const StoragePort = ":443"
View Source
const TokenPort = ":443"
Variables ¶
This section is empty.
Functions ¶
func AllDialOptions ¶ added in v1.18.0
func AllDialOptions(grpcConfig config.GrpcConfiguration, options ...grpc.DialOption) []grpc.DialOption
func GrpcChannelOptionsFromGrpcConfig ¶ added in v1.18.0
func GrpcChannelOptionsFromGrpcConfig(grpcConfig config.GrpcConfiguration) []grpc.DialOption
func TransportCredentialsChannelOption ¶ added in v1.18.0
func TransportCredentialsChannelOption() grpc.DialOption
Types ¶
type AuthGrpcManager ¶ added in v1.25.0
type AuthGrpcManager struct { Conn *grpc.ClientConn AuthToken string }
func NewAuthGrpcManager ¶ added in v1.25.0
func NewAuthGrpcManager(request *models.AuthGrpcManagerRequest) (*AuthGrpcManager, momentoerrors.MomentoSvcErr)
func (*AuthGrpcManager) Close ¶ added in v1.25.0
func (authManager *AuthGrpcManager) Close() momentoerrors.MomentoSvcErr
type DataGrpcManager ¶ added in v0.4.0
type DataGrpcManager struct {
Conn *grpc.ClientConn
}
func NewUnaryDataGrpcManager ¶ added in v0.4.0
func NewUnaryDataGrpcManager(request *models.DataGrpcManagerRequest) (*DataGrpcManager, momentoerrors.MomentoSvcErr)
func (*DataGrpcManager) Close ¶ added in v0.4.0
func (dataManager *DataGrpcManager) Close() momentoerrors.MomentoSvcErr
type LeaderboardGrpcManager ¶ added in v1.20.0
type LeaderboardGrpcManager struct {
Conn *grpc.ClientConn
}
func NewLeaderboardGrpcManager ¶ added in v1.20.0
func NewLeaderboardGrpcManager(request *models.LeaderboardGrpcManagerRequest) (*LeaderboardGrpcManager, momentoerrors.MomentoSvcErr)
func (*LeaderboardGrpcManager) Close ¶ added in v1.20.0
func (grpcManager *LeaderboardGrpcManager) Close() momentoerrors.MomentoSvcErr
type PingGrpcManager ¶ added in v0.12.0
type PingGrpcManager struct {
Conn *grpc.ClientConn
}
func NewPingGrpcManager ¶ added in v0.12.0
func NewPingGrpcManager(request *models.PingGrpcManagerRequest) (*PingGrpcManager, momentoerrors.MomentoSvcErr)
func (*PingGrpcManager) Close ¶ added in v0.12.0
func (pingManager *PingGrpcManager) Close() momentoerrors.MomentoSvcErr
type ScsControlGrpcManager ¶
type ScsControlGrpcManager struct {
Conn *grpc.ClientConn
}
func NewScsControlGrpcManager ¶
func NewScsControlGrpcManager(request *models.ControlGrpcManagerRequest) (*ScsControlGrpcManager, momentoerrors.MomentoSvcErr)
func (*ScsControlGrpcManager) Close ¶
func (controlManager *ScsControlGrpcManager) Close() momentoerrors.MomentoSvcErr
type StoreGrpcManager ¶ added in v1.23.0
type StoreGrpcManager struct {
Conn *grpc.ClientConn
}
func NewStoreGrpcManager ¶ added in v1.23.0
func NewStoreGrpcManager(request *models.StoreGrpcManagerRequest) (*StoreGrpcManager, momentoerrors.MomentoSvcErr)
func (*StoreGrpcManager) Close ¶ added in v1.23.0
func (grpcManager *StoreGrpcManager) Close() momentoerrors.MomentoSvcErr
type TokenGrpcManager ¶ added in v1.14.0
type TokenGrpcManager struct { Conn *grpc.ClientConn AuthToken string }
func NewTokenGrpcManager ¶ added in v1.14.0
func NewTokenGrpcManager(request *models.TokenGrpcManagerRequest) (*TokenGrpcManager, momentoerrors.MomentoSvcErr)
func (*TokenGrpcManager) Close ¶ added in v1.14.0
func (tokenManager *TokenGrpcManager) Close() momentoerrors.MomentoSvcErr
type TopicGrpcManager ¶ added in v1.6.0
type TopicGrpcManager struct { Conn *grpc.ClientConn StreamClient pb.PubsubClient }
func NewStreamTopicGrpcManager ¶ added in v1.6.0
func NewStreamTopicGrpcManager(request *models.TopicStreamGrpcManagerRequest) (*TopicGrpcManager, momentoerrors.MomentoSvcErr)
func (*TopicGrpcManager) Close ¶ added in v1.6.0
func (topicManager *TopicGrpcManager) Close() momentoerrors.MomentoSvcErr
Click to show internal directories.
Click to hide internal directories.