Documentation ¶
Index ¶
- func AccountIdsToStrings(accountIds []AccountId) []string
- func ContactsToPB(contacts []Contact) []*pb.UserContact
- type AccountId
- type Address
- type CallCtx
- func (c CallCtx) Debug() *zerolog.Event
- func (c CallCtx) Error() *zerolog.Event
- func (c CallCtx) Fatal() *zerolog.Event
- func (c CallCtx) Info() *zerolog.Event
- func (c CallCtx) Log() *zerolog.Logger
- func (c CallCtx) NewCtx(name string) CallCtx
- func (c CallCtx) Panic() *zerolog.Event
- func (c CallCtx) Printf(format string, v ...interface{})
- func (c CallCtx) Trace() *zerolog.Event
- func (c CallCtx) Warn() *zerolog.Event
- type Contact
- type Myself
- type TestMyself
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountIdsToStrings ¶
func ContactsToPB ¶
func ContactsToPB(contacts []Contact) []*pb.UserContact
Types ¶
type AccountId ¶
type AccountId string
func NewAccountId ¶
func NilAccountId ¶
func NilAccountId() AccountId
func StringsToAccountIds ¶
type Address ¶
func NewAddressFromPB ¶
func NewAddressFromPB(c *pb.ClientAddress) Address
func (Address) ToPB ¶
func (a Address) ToPB() *pb.ClientAddress
type CallCtx ¶
type CallCtx struct {
// contains filtered or unexported fields
}
func NewCallCtx ¶
func NewCallCtxWithApp ¶
type Contact ¶
func NewContactFromPB ¶
func NewContactFromPB(c *pb.UserContact) Contact
func (Contact) ToPB ¶
func (c Contact) ToPB() *pb.UserContact
type TestMyself ¶
type TestMyself struct {
// contains filtered or unexported fields
}
func (*TestMyself) GetMe ¶
func (m *TestMyself) GetMe() Contact
Click to show internal directories.
Click to hide internal directories.