models

package
v0.0.0-...-3fd2139 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountThreema

type AccountThreema struct {
	gorm.Model
	XMPPID uint
	XMPP   JID
	TID    []byte
	LSK    []byte
}

type JID

type JID struct {
	gorm.Model
	Local  string
	Domain string
}

func ParseJID

func ParseJID(jidString string) (jid *JID)

func (*JID) IsDomain

func (jid *JID) IsDomain() bool

func (*JID) String

func (jid *JID) String() string

func (*JID) TableName

func (j *JID) TableName() string

Jump to

Keyboard shortcuts

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