Documentation
¶
Index ¶
- func GenerateChatID() (*commonpb.ChatId, error)
- func GenerateIntentID() (*commonpb.IntentId, error)
- func GenerateTwoWayChatID(a, b *commonpb.UserId) (*commonpb.ChatId, error)
- func GenerateUserId() (*commonpb.UserId, error)
- func IntentIDString(intent *commonpb.IntentId) string
- func MustGenerateChatID() *commonpb.ChatId
- func MustGenerateIntentID() *commonpb.IntentId
- func MustGenerateTwoWayChatID(a, b *commonpb.UserId) *commonpb.ChatId
- func MustGenerateUserID() *commonpb.UserId
- func UserIDString(userID *commonpb.UserId) string
- type KeyPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateChatID ¶
func GenerateIntentID ¶
func GenerateTwoWayChatID ¶
func GenerateUserId ¶
func IntentIDString ¶
func MustGenerateChatID ¶
func MustGenerateIntentID ¶
func MustGenerateUserID ¶
func UserIDString ¶
Types ¶
type KeyPair ¶
type KeyPair struct {
// contains filtered or unexported fields
}
func GenerateKeyPair ¶
func MustGenerateKeyPair ¶
func MustGenerateKeyPair() KeyPair
func (KeyPair) Private ¶
func (k KeyPair) Private() ed25519.PrivateKey
Click to show internal directories.
Click to hide internal directories.