Documentation ¶
Index ¶
- Constants
- type AddrType
- type Address
- func MustParseAddr(addr string) *Address
- func NewAddress(flags byte, workchain byte, data []byte) *Address
- func NewAddressExt(flags byte, bitsLen uint, data []byte) *Address
- func NewAddressNone() *Address
- func NewAddressVar(flags byte, workchain int32, bitsLen uint, data []byte) *Address
- func ParseAddr(addr string) (*Address, error)
- func (a *Address) BitsLen() uint
- func (a *Address) Bounce(bounce bool) *Address
- func (a *Address) Checksum() uint16
- func (a *Address) Copy() *Address
- func (a *Address) Data() []byte
- func (a *Address) Dump() string
- func (a *Address) FlagsToByte() (flags byte)
- func (a *Address) IsAddrNone() bool
- func (a *Address) IsBounceable() bool
- func (a *Address) IsTestnetOnly() bool
- func (a *Address) MarshalJSON() ([]byte, error)
- func (a *Address) SetBounce(bouncable bool)
- func (a *Address) SetTestnetOnly(testnetOnly bool)
- func (a *Address) String() string
- func (a *Address) StringToBytes(dst []byte, addr []byte)
- func (a *Address) Testnet(testnet bool) *Address
- func (a *Address) Type() AddrType
- func (a *Address) Workchain() int32
Constants ¶
View Source
const MasterchainID int32 = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func MustParseAddr ¶
func NewAddressNone ¶
func NewAddressNone() *Address
func NewAddressVar ¶
func (*Address) FlagsToByte ¶
func (*Address) IsAddrNone ¶
func (*Address) IsBounceable ¶
func (*Address) IsTestnetOnly ¶
func (*Address) MarshalJSON ¶
func (*Address) SetTestnetOnly ¶
func (*Address) StringToBytes ¶
Click to show internal directories.
Click to hide internal directories.