mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-23 14:07:11 +02:00
mcp: storage scaffolding (#5581)
This commit is contained in:
parent
f1a9401ddc
commit
db221cb826
4 changed files with 68 additions and 8 deletions
16
internal/mcp/storage.go
Normal file
16
internal/mcp/storage.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package mcp
|
||||
|
||||
import "github.com/pomerium/pomerium/pkg/grpc/databroker"
|
||||
|
||||
type Storage struct {
|
||||
client databroker.DataBrokerServiceClient
|
||||
}
|
||||
|
||||
// NewStorage creates a new Storage instance.
|
||||
func NewStorage(
|
||||
client databroker.DataBrokerServiceClient,
|
||||
) *Storage {
|
||||
return &Storage{
|
||||
client: client,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue