Documentation
¶
Index ¶
Constants ¶
View Source
const (
GeoStoreKey = "trip-geo"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(coll *mongo.Collection, rcl *redis.Client) *Repository
func (*Repository) CreateTrip ¶
func (*Repository) DeleteTrip ¶
func (r *Repository) DeleteTrip(ctx context.Context, tripID string) *TripError
func (*Repository) SearchTripByRadiusMeter ¶
Click to show internal directories.
Click to hide internal directories.