forked from yarpc/yarpc-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
30 lines (29 loc) · 744 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 weatherfx provides better integration for Fx for services
// implementing or calling Weather.
//
// Clients
//
// If you are making requests to Weather, use the Client function to inject a
// Weather client into your container.
//
// fx.Provide(weatherfx.Client("..."))
//
// Servers
//
// If you are implementing Weather, provide a weatherserver.Interface into
// the container and use the Server function.
//
// Given,
//
// func NewWeatherHandler() weatherserver.Interface
//
// You can do the following to have the procedures of Weather made available
// to an Fx application.
//
// fx.Provide(
// NewWeatherHandler,
// weatherfx.Server(),
// )
package weatherfx