Documentation ¶
Index ¶
- Variables
- type Client
- type Option
- type Service
- type SomeOtherClient
- func (s *SomeOtherClient) DoStuff() error
- func (s *SomeOtherClient) GetUser(ctx context.Context) (*sub.User, error)
- func (s *SomeOtherClient) MethodWithChannel(arg0 <-chan bool) error
- func (s *SomeOtherClient) MethodWithWildcard(arg0 interface{})
- func (s *SomeOtherClient) SaveFile(arg0 *client.File, arg1 *os.File) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientMethods = struct { GenerateGreeting string SayHello string }{ GenerateGreeting: "GenerateGreeting", SayHello: "SayHello", }
ClientMethods are the methods in Client
View Source
var RetryAllErrors = func(_ string, _ error) bool { return true }
View Source
var ServiceMethods = struct { GetData string }{ GetData: "GetData", }
ServiceMethods are the methods in Service
View Source
var SomeOtherClientMethods = struct { DoStuff string GetUser string MethodWithChannel string MethodWithWildcard string SaveFile string }{ DoStuff: "DoStuff", GetUser: "GetUser", MethodWithChannel: "MethodWithChannel", MethodWithWildcard: "MethodWithWildcard", SaveFile: "SaveFile", }
SomeOtherClientMethods are the methods in SomeOtherClient
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GenerateGreeting ¶
type SomeOtherClient ¶
type SomeOtherClient struct {
// contains filtered or unexported fields
}
func NewSomeOtherClient ¶
func NewSomeOtherClient(delegate targetSomeOtherClient, runnerFactory runnerFactory, options ...Option) *SomeOtherClient
func (*SomeOtherClient) DoStuff ¶
func (s *SomeOtherClient) DoStuff() error
func (*SomeOtherClient) MethodWithChannel ¶
func (s *SomeOtherClient) MethodWithChannel(arg0 <-chan bool) error
func (*SomeOtherClient) MethodWithWildcard ¶
func (s *SomeOtherClient) MethodWithWildcard(arg0 interface{})
Click to show internal directories.
Click to hide internal directories.