Documentation ¶
Index ¶
- type LeafObject
- type LeafService
- type LeafServiceImpl
- func (l *LeafServiceImpl) HelloInt(ctx ctxx.Context, a int64) (int64, error)
- func (l *LeafServiceImpl) HelloMate(ctx ctxx.Context, a int, b int32, c string, d map[string]LeafObject, ...) (string, []string, int32, int, map[string]LeafObject, error)
- func (l *LeafServiceImpl) HelloNothing(ctx ctxx.Context) error
- func (l *LeafServiceImpl) HelloObject(ctx ctxx.Context, obj *LeafObject) (*LeafObject, error)
- func (l *LeafServiceImpl) NonServiceFunction() int64
- type MyInt
- type NestedLeafObject
- type NonLeafService
- type NonLeafServiceImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeafObject ¶
type LeafObject struct { ID int64 Name string Count int Props map[string]NestedLeafObject }
type LeafService ¶
type LeafService interface { HelloNothing(ctx ctxx.Context) error HelloInt(ctx ctxx.Context, a int64) (int64, error) HelloObject(ctx ctxx.Context, obj *LeafObject) (*LeafObject, error) HelloMate(ctx ctxx.Context, a int, b int32, c string, d map[string]LeafObject, elems []string, elems2 []NestedLeafObject) (string, []string, int32, int, map[string]LeafObject, error) }
type LeafServiceImpl ¶
type LeafServiceImpl struct { LeafService Cache backend.Cache Collection backend.NoSQLCollection Counter metric.Int64Counter // contains filtered or unexported fields }
func NewLeafServiceImpl ¶
func NewLeafServiceImpl(ctx ctxx.Context, cache backend.Cache, db backend.NoSQLDatabase) (*LeafServiceImpl, error)
func (*LeafServiceImpl) HelloMate ¶
func (l *LeafServiceImpl) HelloMate(ctx ctxx.Context, a int, b int32, c string, d map[string]LeafObject, elems []string, elems2 []NestedLeafObject) (string, []string, int32, int, map[string]LeafObject, error)
func (*LeafServiceImpl) HelloNothing ¶
func (l *LeafServiceImpl) HelloNothing(ctx ctxx.Context) error
func (*LeafServiceImpl) HelloObject ¶
func (l *LeafServiceImpl) HelloObject(ctx ctxx.Context, obj *LeafObject) (*LeafObject, error)
func (*LeafServiceImpl) NonServiceFunction ¶
func (l *LeafServiceImpl) NonServiceFunction() int64
type NestedLeafObject ¶
type NonLeafService ¶
func NewNonLeafServiceImpl ¶
func NewNonLeafServiceImpl(ctx context.Context, leafService LeafService) (NonLeafService, error)
type NonLeafServiceImpl ¶
type NonLeafServiceImpl struct { NonLeafService // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.