tlab

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Code generated by tl2gen; DO NOT EDIT.

Code generated by tl2gen; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias = tlAbResponse.AbAlias

type Call1

type Call1 = tlAbCall1.AbCall1

type Call2

type Call2 = tlAbCall2.AbCall2

type Call2__Result

type Call2__Result = tlCdTypeB.CdTypeB

type Call3

type Call3 = tlAbCall3.AbCall3

type Call3__Result

type Call3__Result = tlTypeB.TypeB

type Call4

type Call4 = tlAbCall4.AbCall4

type Call5

type Call5 = tlAbCall5.AbCall5

type Call5__Result

type Call5__Result = tlCdTypeB.CdTypeB

type Call6

type Call6 = tlAbCall6.AbCall6

type Call6__Result

type Call6__Result = tlTypeB.TypeB

type Call7

type Call7 = tlAbCall7.AbCall7

type Call8

type Call8 = tlAbCall8.AbCall8

type Call8__Result

type Call8__Result = tlCdTypeB.CdTypeB

type Call9

type Call9 = tlAbCall9.AbCall9

type Call9__Result

type Call9__Result = tlTypeB.TypeB

type Call10

type Call10 = tlAbCall10.AbCall10

type Call10__Result

type Call10__Result = tlAColor.AColor

type Call11

type Call11 = tlAbCall11.AbCall11

type Call11__Result

type Call11__Result = tlAColor.AColor

type Client

type Client struct {
	Client  rpc.Client
	Network string // should be either "tcp4" or "unix"
	Address string
	ActorID int64         // should be >0 for routing via rpc-proxy
	Timeout time.Duration // set to extra.CustomTimeoutMs, if not already set
}

func (*Client) Call1

func (c *Client) Call1(ctx context.Context, args Call1, extra *rpc.InvokeReqExtra, ret *TypeB) (err error)

func (*Client) Call2

func (c *Client) Call2(ctx context.Context, args Call2, extra *rpc.InvokeReqExtra, ret *Call2__Result) (err error)

func (*Client) Call3

func (c *Client) Call3(ctx context.Context, args Call3, extra *rpc.InvokeReqExtra, ret *Call3__Result) (err error)

func (*Client) Call4

func (c *Client) Call4(ctx context.Context, args Call4, extra *rpc.InvokeReqExtra, ret *TypeB) (err error)

func (*Client) Call5

func (c *Client) Call5(ctx context.Context, args Call5, extra *rpc.InvokeReqExtra, ret *Call5__Result) (err error)

func (*Client) Call6

func (c *Client) Call6(ctx context.Context, args Call6, extra *rpc.InvokeReqExtra, ret *Call6__Result) (err error)

func (*Client) Call7

func (c *Client) Call7(ctx context.Context, args Call7, extra *rpc.InvokeReqExtra, ret *TypeB) (err error)

func (*Client) Call8

func (c *Client) Call8(ctx context.Context, args Call8, extra *rpc.InvokeReqExtra, ret *Call8__Result) (err error)

func (*Client) Call9

func (c *Client) Call9(ctx context.Context, args Call9, extra *rpc.InvokeReqExtra, ret *Call9__Result) (err error)

func (*Client) Call10

func (c *Client) Call10(ctx context.Context, args Call10, extra *rpc.InvokeReqExtra, ret *Call10__Result) (err error)

func (*Client) Call11

func (c *Client) Call11(ctx context.Context, args Call11, extra *rpc.InvokeReqExtra, ret *Call11__Result) (err error)

type Code

type Code = tlAbResponse.AbCode

type Empty

type Empty = tlAbResponse.AbEmpty

type Handler

type Handler struct {
	Call1  func(ctx context.Context, args Call1) (TypeB, error)           // ab.call1
	Call10 func(ctx context.Context, args Call10) (Call10__Result, error) // ab.call10
	Call11 func(ctx context.Context, args Call11) (Call11__Result, error) // ab.call11
	Call2  func(ctx context.Context, args Call2) (Call2__Result, error)   // ab.call2
	Call3  func(ctx context.Context, args Call3) (Call3__Result, error)   // ab.call3
	Call4  func(ctx context.Context, args Call4) (TypeB, error)           // ab.call4
	Call5  func(ctx context.Context, args Call5) (Call5__Result, error)   // ab.call5
	Call6  func(ctx context.Context, args Call6) (Call6__Result, error)   // ab.call6
	Call7  func(ctx context.Context, args Call7) (TypeB, error)           // ab.call7
	Call8  func(ctx context.Context, args Call8) (Call8__Result, error)   // ab.call8
	Call9  func(ctx context.Context, args Call9) (Call9__Result, error)   // ab.call9

}

func (*Handler) Handle

func (h *Handler) Handle(ctx context.Context, hctx *rpc.HandlerContext) (err error)

type MyType

type MyType = tlAbMyType.AbMyType

type MyTypeMaybe

type MyTypeMaybe = tlAbMyTypeMaybe.AbMyTypeMaybe

type Response

type Response = tlAbResponse.AbResponse

type ResponseBytes

type ResponseBytes = tlAbResponse.AbResponseBytes

type TestMaybe

type TestMaybe = tlAbTestMaybe.AbTestMaybe

type TopLevel1

type TopLevel1 = tlAbTopLevel1.AbTopLevel1

type TopLevel2

type TopLevel2 = tlAbTopLevel2.AbTopLevel2

type TopLevel2Bytes

type TopLevel2Bytes = tlAbTopLevel2.AbTopLevel2Bytes

type TypeA

type TypeA = tlAbTypeA.AbTypeA

type TypeB

type TypeB = tlAbTypeB.AbTypeB

type TypeC

type TypeC = tlAbTypeC.AbTypeC

type TypeD

type TypeD = tlAbTypeD.AbTypeD

type UseCycle

type UseCycle = tlAbUseCycle.AbUseCycle

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL