Documentation ¶
Index ¶
- Constants
- type AddrType
- type Address
- func MustParseAddr(addr string) *Address
- func MustParseRawAddr(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 ParseRawAddr(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) UnmarshalJSON(data []byte) error
- 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 MustParseRawAddr ¶ added in v1.9.2
func NewAddressExt ¶ added in v1.0.3
func NewAddressNone ¶ added in v1.0.3
func NewAddressNone() *Address
func NewAddressVar ¶ added in v1.0.3
func ParseRawAddr ¶ added in v1.9.2
func (*Address) FlagsToByte ¶ added in v0.1.8
func (*Address) IsAddrNone ¶ added in v0.7.1
func (*Address) IsBounceable ¶ added in v0.1.8
func (*Address) IsTestnetOnly ¶ added in v0.1.8
func (*Address) MarshalJSON ¶ added in v0.1.9
func (*Address) SetTestnetOnly ¶ added in v0.1.8
func (*Address) StringToBytes ¶ added in v1.0.4
func (*Address) UnmarshalJSON ¶ added in v1.9.0
Click to show internal directories.
Click to hide internal directories.