Skip to content

Commit

Permalink
Adds mongo client
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlogic committed Jun 10, 2024
1 parent 52a1380 commit dc4717e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mongo.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package main

import (
"context"

pb "github.com/brotherlogic/rstore/proto"
"google.golang.org/protobuf/types/known/anypb"
)

type Mongo struct {
}

func (m *Mongo) Read(ctx context.Context, req *pb.ReadRequest) (*pb.ReadResponse, error) {
return &pb.ReadResponse{Value: &anypb.Any{}}, nil
}

0 comments on commit dc4717e

Please sign in to comment.