Documentation
¶
Index ¶
- func StringServiceClientSpec(t *testing.T, svc *StringServiceClient)
- type EchoService
- type EchoServiceClient
- type StringPart
- type StringService
- func (*StringService) Join(r StringPart) (string, error)
- func (s *StringService) JoinPtr(ctx context.Context, r *StringPart, v *string) error
- func (*StringService) Sep(r string) (StringPart, error)
- func (s *StringService) SepPtr(r string) (*StringPart, error)
- func (s StringService) ServiceCoordinate() srpc.ServiceCoordinate
- func (*StringService) Uppercase(s string) (string, error)
- func (*StringService) UppercasePtr(ctx context.Context, s *string) (string, error)
- type StringServiceClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringServiceClientSpec ¶
func StringServiceClientSpec(t *testing.T, svc *StringServiceClient)
Types ¶
type EchoService ¶
type EchoService struct { }
func (*EchoService) Echo ¶
func (s *EchoService) Echo(v interface{}) (interface{}, error)
func (*EchoService) EchoTime ¶
func (s *EchoService) EchoTime(v interface{}) (interface{}, error)
func (EchoService) ServiceCoordinate ¶
func (EchoService) ServiceCoordinate() srpc.ServiceCoordinate
type EchoServiceClient ¶
type EchoServiceClient struct { Echo func(v interface{}) (interface{}, error) EchoTime func(v time.Time) (time.Time, error) }
func (EchoServiceClient) ServiceCoordinate ¶
func (EchoServiceClient) ServiceCoordinate() srpc.ServiceCoordinate
type StringPart ¶
type StringService ¶
type StringService struct { }
func (*StringService) Join ¶
func (*StringService) Join(r StringPart) (string, error)
func (*StringService) JoinPtr ¶
func (s *StringService) JoinPtr(ctx context.Context, r *StringPart, v *string) error
func (*StringService) Sep ¶
func (*StringService) Sep(r string) (StringPart, error)
func (*StringService) SepPtr ¶
func (s *StringService) SepPtr(r string) (*StringPart, error)
func (StringService) ServiceCoordinate ¶
func (s StringService) ServiceCoordinate() srpc.ServiceCoordinate
func (*StringService) UppercasePtr ¶
type StringServiceClient ¶
type StringServiceClient struct { Uppercase func(string) (string, error) UppercasePtr func(string) (string, error) Join func(r StringPart) (string, error) JoinPtr func(r *StringPart) (string, error) Sep func(r string) (StringPart, error) SepPtr func(r string) (*StringPart, error) }
func (StringServiceClient) ServiceCoordinate ¶
func (s StringServiceClient) ServiceCoordinate() srpc.ServiceCoordinate
Click to show internal directories.
Click to hide internal directories.