Skip to content

Commit

Permalink
refactor: Remove old pubsub and sorted set requests and responses.
Browse files Browse the repository at this point in the history
  • Loading branch information
schwern committed Feb 14, 2023
1 parent 5fb81c7 commit c262206
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 188 deletions.
38 changes: 0 additions & 38 deletions internal/models/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (

"github.com/momentohq/client-sdk-go/auth"
"github.com/momentohq/client-sdk-go/config"
pb "github.com/momentohq/client-sdk-go/internal/protos"
)

type ControlGrpcManagerRequest struct {
Expand All @@ -32,33 +31,6 @@ type ListCachesRequest struct {
NextToken string
}

type TopicSubscribeRequest struct {
CacheName string
TopicName string
}

type TopicPublishRequest struct {
CacheName string
TopicName string
Value TopicValue
}

type TopicValue interface {
isTopicValue()
}

type TopicValueBytes struct {
Bytes []byte
}

func (TopicValueBytes) isTopicValue() {}

type TopicValueString struct {
Text string
}

func (TopicValueString) isTopicValue() {}

type ControlClientRequest struct {
Configuration config.Configuration
CredentialProvider auth.CredentialProvider
Expand All @@ -74,13 +46,3 @@ type PubSubClientRequest struct {
Configuration config.Configuration
CredentialProvider auth.CredentialProvider
}

type NewLocalPubSubClientRequest struct {
Port int
}

type ConvertEcacheResultRequest struct {
ECacheResult pb.ECacheResult
Message string
OpName string
}
84 changes: 0 additions & 84 deletions internal/models/sortedset_requests.go

This file was deleted.

66 changes: 0 additions & 66 deletions internal/models/sortedset_response.go

This file was deleted.

0 comments on commit c262206

Please sign in to comment.