tl

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: 95 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

func BoolReadTL1Boxed

func BoolReadTL1Boxed(w []byte, v *bool) ([]byte, error)

func BoolWriteTL1Boxed

func BoolWriteTL1Boxed(w []byte, v bool) []byte

Types

type Call1

type Call1 = tlCall1.Call1

type Call1__Result

type Call1__Result = tlAbTypeB.AbTypeB

type Call2

type Call2 = tlCall2.Call2

type Call2__Result

type Call2__Result = tlCdTypeB.CdTypeB

type Call3

type Call3 = tlCall3.Call3

type Call4

type Call4 = tlCall4.Call4

type Call4__Result

type Call4__Result = tlAbTypeB.AbTypeB

type Call5

type Call5 = tlCall5.Call5

type Call5__Result

type Call5__Result = tlCdTypeB.CdTypeB

type Call6

type Call6 = tlCall6.Call6

type Call7

type Call7 = tlCall7.Call7

type Call7__Result

type Call7__Result = tlAbTypeB.AbTypeB

type Call8

type Call8 = tlCall8.Call8

type Call8__Result

type Call8__Result = tlCdTypeB.CdTypeB

type Call9

type Call9 = tlCall9.Call9

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 *Call1__Result) (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 *TypeB) (err error)

func (*Client) Call4

func (c *Client) Call4(ctx context.Context, args Call4, extra *rpc.InvokeReqExtra, ret *Call4__Result) (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 *TypeB) (err error)

func (*Client) Call7

func (c *Client) Call7(ctx context.Context, args Call7, extra *rpc.InvokeReqExtra, ret *Call7__Result) (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 *TypeB) (err error)

type HalfStr

type HalfStr = tlHalfStr.HalfStr

type Handler

type Handler struct {
	Call1 func(ctx context.Context, args Call1) (Call1__Result, error) // call1
	Call2 func(ctx context.Context, args Call2) (Call2__Result, error) // call2
	Call3 func(ctx context.Context, args Call3) (TypeB, error)         // call3
	Call4 func(ctx context.Context, args Call4) (Call4__Result, error) // call4
	Call5 func(ctx context.Context, args Call5) (Call5__Result, error) // call5
	Call6 func(ctx context.Context, args Call6) (TypeB, error)         // call6
	Call7 func(ctx context.Context, args Call7) (Call7__Result, error) // call7
	Call8 func(ctx context.Context, args Call8) (Call8__Result, error) // call8
	Call9 func(ctx context.Context, args Call9) (TypeB, error)         // call9

}

func (*Handler) Handle

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

type InnerMaybe

type InnerMaybe = tlInnerMaybe.InnerMaybe

type InnerMaybe0

type InnerMaybe0 = tlInnerMaybe0.InnerMaybe0

type Int

type Int = tlInt.Int

type Int32s

type Int32s = tlInt32s.Int32s

type Int64s

type Int64s = tlInt64s.Int64s

type IntBoxedMaybe

type IntBoxedMaybe = tlIntBoxedMaybe.IntBoxedMaybe

type IntMaybe

type IntMaybe = tlIntMaybe.IntMaybe

type Long

type Long = tlLong.Long

type MaybeTest1

type MaybeTest1 = tlMaybeTest1.MaybeTest1

type MultiPoint

type MultiPoint = tlMultiPoint.MultiPoint

type MyInt32

type MyInt32 = tlMyInt32.MyInt32

type MyInt64

type MyInt64 = tlMyInt64.MyInt64

type MyNat

type MyNat = tlMyNat.MyNat

type MyNat2

type MyNat2 = tlMyNat2.MyNat2

type MyNat3

type MyNat3 = tlMyNat3.MyNat3

type MyPlus

type MyPlus = tlMyNat2.MyPlus

type MyPlus3

type MyPlus3 = tlMyNat3.MyPlus3

type MyZero

type MyZero = tlMyNat2.MyZero

type MyZero3

type MyZero3 = tlMyNat3.MyZero3

type NativeWrappers

type NativeWrappers = tlNativeWrappers.NativeWrappers

type NoStr

type NoStr = tlNoStr.NoStr

type PairIntInt

type PairIntInt = tlPairIntInt.PairIntInt

type Replace

type Replace = tlReplace.Replace

type Replace1

type Replace1 = tlReplace1.Replace1

type Replace2

type Replace2 = tlReplace2.Replace2

type Replace3

type Replace3 = tlReplace3.Replace3

type Replace4

type Replace4 = tlReplace4.Replace4

type Replace5

type Replace5 = tlReplace5.Replace5

type Replace6

type Replace6 = tlReplace6.Replace6

type Replace13

type Replace13 = tlReplace13.Replace13

type Replace17

type Replace17 = tlReplace17.Replace17

type Replace43

type Replace43 = tlReplace43.Replace43

type String

type String = tlString.String

type TestMaybe

type TestMaybe = tlTestMaybe.TestMaybe

type TestMaybe2

type TestMaybe2 = tlTestMaybe2.TestMaybe2

type True

type True = tlTrue.True

type TupleCycleTuple

type TupleCycleTuple = tlTupleCycleTuple.TupleCycleTuple

type TupleInt

type TupleInt = tlTupleInt.TupleInt

type TupleInt0

type TupleInt0 = tlTupleInt0.TupleInt0

type TupleInt0Maybe

type TupleInt0Maybe = tlTupleInt0Maybe.TupleInt0Maybe

type TupleInt3

type TupleInt3 = tlTupleInt3.TupleInt3

type TupleInt3Maybe

type TupleInt3Maybe = tlTupleInt3Maybe.TupleInt3Maybe

type TupleIntBoxed0

type TupleIntBoxed0 = tlTupleIntBoxed0.TupleIntBoxed0

type TupleIntBoxed3

type TupleIntBoxed3 = tlTupleIntBoxed3.TupleIntBoxed3

type TupleIntMaybe

type TupleIntMaybe = tlTupleIntMaybe.TupleIntMaybe

type TupleLong

type TupleLong = tlTupleLong.TupleLong

type TupleString

type TupleString = tlTupleString.TupleString

type TypeA

type TypeA = tlTypeA.TypeA

type TypeB

type TypeB = tlTypeB.TypeB

type TypeC

type TypeC = tlTypeC.TypeC

type TypeD

type TypeD = tlTypeD.TypeD

type UnionArgsUse

type UnionArgsUse = tlUnionArgsUse.UnionArgsUse

type UnionArgsXXX1Int

type UnionArgsXXX1Int = tlUnionArgsXXXInt.UnionArgsXXX1Int

type UnionArgsXXX2Int

type UnionArgsXXX2Int = tlUnionArgsXXXInt.UnionArgsXXX2Int

type UnionArgsXXXInt

type UnionArgsXXXInt = tlUnionArgsXXXInt.UnionArgsXXXInt

type UseDictUgly

type UseDictUgly = tlUseDictUgly.UseDictUgly

type UseResponse

type UseResponse = tlUseResponse.UseResponse

type UseStr

type UseStr = tlUseStr.UseStr

type UseStrBytes

type UseStrBytes = tlUseStr.UseStrBytes

type UseTrue

type UseTrue = tlUseTrue.UseTrue

type VectorInt

type VectorInt = tlVectorInt.VectorInt

type VectorIntMaybe

type VectorIntMaybe = tlVectorIntMaybe.VectorIntMaybe

Jump to

Keyboard shortcuts

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