go.uber.org/yarpc@v1.72.1/encoding/thrift/thriftrw-plugin-yarpc/internal/tests/common/extendonlyfx/doc.go (about) 1 // Code generated by thriftrw-plugin-yarpc 2 // @generated 3 4 // Package extendonlyfx provides better integration for Fx for services 5 // implementing or calling ExtendOnly. 6 // 7 // # Clients 8 // 9 // If you are making requests to ExtendOnly, use the Client function to inject a 10 // ExtendOnly client into your container. 11 // 12 // fx.Provide(extendonlyfx.Client("...")) 13 // 14 // # Servers 15 // 16 // If you are implementing ExtendOnly, provide a extendonlyserver.Interface into 17 // the container and use the Server function. 18 // 19 // Given, 20 // 21 // func NewExtendOnlyHandler() extendonlyserver.Interface 22 // 23 // You can do the following to have the procedures of ExtendOnly made available 24 // to an Fx application. 25 // 26 // fx.Provide( 27 // NewExtendOnlyHandler, 28 // extendonlyfx.Server(), 29 // ) 30 package extendonlyfx