forked from yarpc/yarpc-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
30 lines (29 loc) · 822 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Code generated by thriftrw-plugin-yarpc
// @generated
// Package readonlystorefx provides better integration for Fx for services
// implementing or calling ReadOnlyStore.
//
// Clients
//
// If you are making requests to ReadOnlyStore, use the Client function to inject a
// ReadOnlyStore client into your container.
//
// fx.Provide(readonlystorefx.Client("..."))
//
// Servers
//
// If you are implementing ReadOnlyStore, provide a readonlystoreserver.Interface into
// the container and use the Server function.
//
// Given,
//
// func NewReadOnlyStoreHandler() readonlystoreserver.Interface
//
// You can do the following to have the procedures of ReadOnlyStore made available
// to an Fx application.
//
// fx.Provide(
// NewReadOnlyStoreHandler,
// readonlystorefx.Server(),
// )
package readonlystorefx