bertymessenger

package
v2.120.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: Apache-2.0, MIT Imports: 39 Imported by: 1

Documentation

Overview

Package bertymessenger is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package bertymessenger contains the top-level API that uses the Berty Protocol to implement the Berty Messenger specific logic.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "n/a"
	VcsRef    = "n/a"
	BuildTime = "n/a"
)
View Source
var Account_State_name = map[int32]string{
	0: "Undefined",
	1: "NotReady",
	2: "Ready",
}
View Source
var Account_State_value = map[string]int32{
	"Undefined": 0,
	"NotReady":  1,
	"Ready":     2,
}
View Source
var AppMessage_Type_name = map[int32]string{
	0: "TypeUndefined",
	1: "TypeUserMessage",
	2: "TypeUserReaction",
	3: "TypeGroupInvitation",
	4: "TypeSetGroupName",
	5: "TypeSetUserName",
	6: "TypeAcknowledge",
}
View Source
var AppMessage_Type_value = map[string]int32{
	"TypeUndefined":       0,
	"TypeUserMessage":     1,
	"TypeUserReaction":    2,
	"TypeGroupInvitation": 3,
	"TypeSetGroupName":    4,
	"TypeSetUserName":     5,
	"TypeAcknowledge":     6,
}
View Source
var Contact_State_name = map[int32]string{
	0: "Undefined",
	1: "IncomingRequest",
	2: "OutgoingRequestEnqueued",
	3: "OutgoingRequestSent",
	4: "Established",
}
View Source
var Contact_State_value = map[string]int32{
	"Undefined":               0,
	"IncomingRequest":         1,
	"OutgoingRequestEnqueued": 2,
	"OutgoingRequestSent":     3,
	"Established":             4,
}
View Source
var ParseDeepLink_Kind_name = map[int32]string{
	0: "UnknownKind",
	1: "BertyID",
	2: "BertyGroup",
}
View Source
var ParseDeepLink_Kind_value = map[string]int32{
	"UnknownKind": 0,
	"BertyID":     1,
	"BertyGroup":  2,
}
View Source
var StreamEvent_Type_name = map[int32]string{
	0: "TypeConversationUpdated",
	1: "TypeConversationDeleted",
	2: "TypeInteractionUpdated",
	3: "TypeContactUpdated",
}
View Source
var StreamEvent_Type_value = map[string]int32{
	"TypeConversationUpdated": 0,
	"TypeConversationDeleted": 1,
	"TypeInteractionUpdated":  2,
	"TypeContactUpdated":      3,
}

Functions

func NormalizeDeepLinkURL added in v2.85.0

func NormalizeDeepLinkURL(input string) (url.Values, string, error)

func RegisterMessengerServiceHandler added in v2.100.0

func RegisterMessengerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMessengerServiceHandler registers the http handlers for service MessengerService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMessengerServiceHandlerClient added in v2.100.0

func RegisterMessengerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessengerServiceClient) error

RegisterMessengerServiceHandlerClient registers the http handlers for service MessengerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MessengerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MessengerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MessengerServiceClient" to call the correct interceptors.

func RegisterMessengerServiceHandlerFromEndpoint added in v2.100.0

func RegisterMessengerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMessengerServiceHandlerFromEndpoint is same as RegisterMessengerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMessengerServiceHandlerServer added in v2.100.0

func RegisterMessengerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessengerServiceServer) error

RegisterMessengerServiceHandlerServer registers the http handlers for service MessengerService to "mux". UnaryRPC :call MessengerServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterMessengerServiceServer

func RegisterMessengerServiceServer(s *grpc.Server, srv MessengerServiceServer)

func ShareableBertyGroupURL added in v2.85.0

func ShareableBertyGroupURL(g *bertytypes.Group, groupName string) (string, string, error)

Types

type Account added in v2.120.0

type Account struct {
	PublicKey   string        `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primary_key"`
	DisplayName string        `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	State       Account_State `protobuf:"varint,3,opt,name=state,proto3,enum=berty.messenger.v1.Account_State" json:"state,omitempty"`
}

func (*Account) Descriptor added in v2.120.0

func (*Account) Descriptor() ([]byte, []int)

func (*Account) GetDisplayName added in v2.120.0

func (m *Account) GetDisplayName() string

func (*Account) GetPublicKey added in v2.120.0

func (m *Account) GetPublicKey() string

func (*Account) GetState added in v2.120.0

func (m *Account) GetState() Account_State

func (*Account) ProtoMessage added in v2.120.0

func (*Account) ProtoMessage()

func (*Account) Reset added in v2.120.0

func (m *Account) Reset()

func (*Account) String added in v2.120.0

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown added in v2.120.0

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal added in v2.120.0

func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Account) XXX_Merge added in v2.120.0

func (m *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size added in v2.120.0

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal added in v2.120.0

func (m *Account) XXX_Unmarshal(b []byte) error

type AccountGet added in v2.120.0

type AccountGet struct {
}

func (*AccountGet) Descriptor added in v2.120.0

func (*AccountGet) Descriptor() ([]byte, []int)

func (*AccountGet) ProtoMessage added in v2.120.0

func (*AccountGet) ProtoMessage()

func (*AccountGet) Reset added in v2.120.0

func (m *AccountGet) Reset()

func (*AccountGet) String added in v2.120.0

func (m *AccountGet) String() string

func (*AccountGet) XXX_DiscardUnknown added in v2.120.0

func (m *AccountGet) XXX_DiscardUnknown()

func (*AccountGet) XXX_Marshal added in v2.120.0

func (m *AccountGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet) XXX_Merge added in v2.120.0

func (m *AccountGet) XXX_Merge(src proto.Message)

func (*AccountGet) XXX_Size added in v2.120.0

func (m *AccountGet) XXX_Size() int

func (*AccountGet) XXX_Unmarshal added in v2.120.0

func (m *AccountGet) XXX_Unmarshal(b []byte) error

type AccountGet_Reply added in v2.120.0

type AccountGet_Reply struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

func (*AccountGet_Reply) Descriptor added in v2.120.0

func (*AccountGet_Reply) Descriptor() ([]byte, []int)

func (*AccountGet_Reply) GetAccount added in v2.120.0

func (m *AccountGet_Reply) GetAccount() *Account

func (*AccountGet_Reply) ProtoMessage added in v2.120.0

func (*AccountGet_Reply) ProtoMessage()

func (*AccountGet_Reply) Reset added in v2.120.0

func (m *AccountGet_Reply) Reset()

func (*AccountGet_Reply) String added in v2.120.0

func (m *AccountGet_Reply) String() string

func (*AccountGet_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *AccountGet_Reply) XXX_DiscardUnknown()

func (*AccountGet_Reply) XXX_Marshal added in v2.120.0

func (m *AccountGet_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet_Reply) XXX_Merge added in v2.120.0

func (m *AccountGet_Reply) XXX_Merge(src proto.Message)

func (*AccountGet_Reply) XXX_Size added in v2.120.0

func (m *AccountGet_Reply) XXX_Size() int

func (*AccountGet_Reply) XXX_Unmarshal added in v2.120.0

func (m *AccountGet_Reply) XXX_Unmarshal(b []byte) error

type AccountGet_Request added in v2.120.0

type AccountGet_Request struct {
}

func (*AccountGet_Request) Descriptor added in v2.120.0

func (*AccountGet_Request) Descriptor() ([]byte, []int)

func (*AccountGet_Request) ProtoMessage added in v2.120.0

func (*AccountGet_Request) ProtoMessage()

func (*AccountGet_Request) Reset added in v2.120.0

func (m *AccountGet_Request) Reset()

func (*AccountGet_Request) String added in v2.120.0

func (m *AccountGet_Request) String() string

func (*AccountGet_Request) XXX_DiscardUnknown added in v2.120.0

func (m *AccountGet_Request) XXX_DiscardUnknown()

func (*AccountGet_Request) XXX_Marshal added in v2.120.0

func (m *AccountGet_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountGet_Request) XXX_Merge added in v2.120.0

func (m *AccountGet_Request) XXX_Merge(src proto.Message)

func (*AccountGet_Request) XXX_Size added in v2.120.0

func (m *AccountGet_Request) XXX_Size() int

func (*AccountGet_Request) XXX_Unmarshal added in v2.120.0

func (m *AccountGet_Request) XXX_Unmarshal(b []byte) error

type Account_State added in v2.120.0

type Account_State int32
const (
	Account_Undefined Account_State = 0
	Account_NotReady  Account_State = 1
	Account_Ready     Account_State = 2
)

func (Account_State) EnumDescriptor added in v2.120.0

func (Account_State) EnumDescriptor() ([]byte, []int)

func (Account_State) String added in v2.120.0

func (x Account_State) String() string

type AppMessage added in v2.120.0

type AppMessage struct {
	Type    AppMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.AppMessage_Type" json:"type,omitempty"`
	Payload []byte          `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*AppMessage) Descriptor added in v2.120.0

func (*AppMessage) Descriptor() ([]byte, []int)

func (*AppMessage) GetPayload added in v2.120.0

func (m *AppMessage) GetPayload() []byte

func (*AppMessage) GetType added in v2.120.0

func (m *AppMessage) GetType() AppMessage_Type

func (*AppMessage) ProtoMessage added in v2.120.0

func (*AppMessage) ProtoMessage()

func (*AppMessage) Reset added in v2.120.0

func (m *AppMessage) Reset()

func (*AppMessage) String added in v2.120.0

func (m *AppMessage) String() string

func (*AppMessage) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage) XXX_DiscardUnknown()

func (*AppMessage) XXX_Marshal added in v2.120.0

func (m *AppMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage) XXX_Merge added in v2.120.0

func (m *AppMessage) XXX_Merge(src proto.Message)

func (*AppMessage) XXX_Size added in v2.120.0

func (m *AppMessage) XXX_Size() int

func (*AppMessage) XXX_Unmarshal added in v2.120.0

func (m *AppMessage) XXX_Unmarshal(b []byte) error

type AppMessage_Acknowledge added in v2.120.0

type AppMessage_Acknowledge struct {
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
}

func (*AppMessage_Acknowledge) Descriptor added in v2.120.0

func (*AppMessage_Acknowledge) Descriptor() ([]byte, []int)

func (*AppMessage_Acknowledge) GetTarget added in v2.120.0

func (m *AppMessage_Acknowledge) GetTarget() string

func (*AppMessage_Acknowledge) ProtoMessage added in v2.120.0

func (*AppMessage_Acknowledge) ProtoMessage()

func (*AppMessage_Acknowledge) Reset added in v2.120.0

func (m *AppMessage_Acknowledge) Reset()

func (*AppMessage_Acknowledge) String added in v2.120.0

func (m *AppMessage_Acknowledge) String() string

func (*AppMessage_Acknowledge) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_DiscardUnknown()

func (*AppMessage_Acknowledge) XXX_Marshal added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_Acknowledge) XXX_Merge added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Merge(src proto.Message)

func (*AppMessage_Acknowledge) XXX_Size added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Size() int

func (*AppMessage_Acknowledge) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_Acknowledge) XXX_Unmarshal(b []byte) error

type AppMessage_GroupInvitation added in v2.120.0

type AppMessage_GroupInvitation struct {
	GroupPk string `protobuf:"bytes,2,opt,name=group_pk,json=groupPk,proto3" json:"groupPk"`
}

func (*AppMessage_GroupInvitation) Descriptor added in v2.120.0

func (*AppMessage_GroupInvitation) Descriptor() ([]byte, []int)

func (*AppMessage_GroupInvitation) GetGroupPk added in v2.120.0

func (m *AppMessage_GroupInvitation) GetGroupPk() string

func (*AppMessage_GroupInvitation) ProtoMessage added in v2.120.0

func (*AppMessage_GroupInvitation) ProtoMessage()

func (*AppMessage_GroupInvitation) Reset added in v2.120.0

func (m *AppMessage_GroupInvitation) Reset()

func (*AppMessage_GroupInvitation) String added in v2.120.0

func (m *AppMessage_GroupInvitation) String() string

func (*AppMessage_GroupInvitation) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_DiscardUnknown()

func (*AppMessage_GroupInvitation) XXX_Marshal added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_GroupInvitation) XXX_Merge added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Merge(src proto.Message)

func (*AppMessage_GroupInvitation) XXX_Size added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Size() int

func (*AppMessage_GroupInvitation) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_GroupInvitation) XXX_Unmarshal(b []byte) error

type AppMessage_SetGroupName added in v2.120.0

type AppMessage_SetGroupName struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func (*AppMessage_SetGroupName) Descriptor added in v2.120.0

func (*AppMessage_SetGroupName) Descriptor() ([]byte, []int)

func (*AppMessage_SetGroupName) GetName added in v2.120.0

func (m *AppMessage_SetGroupName) GetName() string

func (*AppMessage_SetGroupName) ProtoMessage added in v2.120.0

func (*AppMessage_SetGroupName) ProtoMessage()

func (*AppMessage_SetGroupName) Reset added in v2.120.0

func (m *AppMessage_SetGroupName) Reset()

func (*AppMessage_SetGroupName) String added in v2.120.0

func (m *AppMessage_SetGroupName) String() string

func (*AppMessage_SetGroupName) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_DiscardUnknown()

func (*AppMessage_SetGroupName) XXX_Marshal added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_SetGroupName) XXX_Merge added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Merge(src proto.Message)

func (*AppMessage_SetGroupName) XXX_Size added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Size() int

func (*AppMessage_SetGroupName) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_SetGroupName) XXX_Unmarshal(b []byte) error

type AppMessage_SetUserName added in v2.120.0

type AppMessage_SetUserName struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func (*AppMessage_SetUserName) Descriptor added in v2.120.0

func (*AppMessage_SetUserName) Descriptor() ([]byte, []int)

func (*AppMessage_SetUserName) GetName added in v2.120.0

func (m *AppMessage_SetUserName) GetName() string

func (*AppMessage_SetUserName) ProtoMessage added in v2.120.0

func (*AppMessage_SetUserName) ProtoMessage()

func (*AppMessage_SetUserName) Reset added in v2.120.0

func (m *AppMessage_SetUserName) Reset()

func (*AppMessage_SetUserName) String added in v2.120.0

func (m *AppMessage_SetUserName) String() string

func (*AppMessage_SetUserName) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_SetUserName) XXX_DiscardUnknown()

func (*AppMessage_SetUserName) XXX_Marshal added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_SetUserName) XXX_Merge added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Merge(src proto.Message)

func (*AppMessage_SetUserName) XXX_Size added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Size() int

func (*AppMessage_SetUserName) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_SetUserName) XXX_Unmarshal(b []byte) error

type AppMessage_Type added in v2.120.0

type AppMessage_Type int32
const (
	AppMessage_TypeUndefined       AppMessage_Type = 0
	AppMessage_TypeUserMessage     AppMessage_Type = 1
	AppMessage_TypeUserReaction    AppMessage_Type = 2
	AppMessage_TypeGroupInvitation AppMessage_Type = 3
	AppMessage_TypeSetGroupName    AppMessage_Type = 4
	AppMessage_TypeSetUserName     AppMessage_Type = 5
	AppMessage_TypeAcknowledge     AppMessage_Type = 6
)

func UnmarshalAppMessage added in v2.120.0

func UnmarshalAppMessage(payload []byte) (proto.Message, AppMessage_Type, error)

UnmarshalAppMessage tries to parse an AppMessage payload in the corresponding type. Since this function returns a proto.Message interface, you still need to cast the returned value, but this function allows you to make it safely.

func (AppMessage_Type) EnumDescriptor added in v2.120.0

func (AppMessage_Type) EnumDescriptor() ([]byte, []int)

func (*AppMessage_Type) MarshalJSON added in v2.120.0

func (x *AppMessage_Type) MarshalJSON() ([]byte, error)

func (AppMessage_Type) MarshalPayload added in v2.120.0

func (x AppMessage_Type) MarshalPayload(payload proto.Message) ([]byte, error)

func (AppMessage_Type) String added in v2.120.0

func (x AppMessage_Type) String() string

func (*AppMessage_Type) UnmarshalJSON added in v2.120.0

func (x *AppMessage_Type) UnmarshalJSON(bytes []byte) error

type AppMessage_UserMessage added in v2.120.0

type AppMessage_UserMessage struct {
	Body        string                   `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Attachments []*UserMessageAttachment `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"`
	SentDate    int64                    `protobuf:"varint,4,opt,name=sent_date,json=sentDate,proto3" json:"sentDate"`
}

func (*AppMessage_UserMessage) Descriptor added in v2.120.0

func (*AppMessage_UserMessage) Descriptor() ([]byte, []int)

func (*AppMessage_UserMessage) GetAttachments added in v2.120.0

func (m *AppMessage_UserMessage) GetAttachments() []*UserMessageAttachment

func (*AppMessage_UserMessage) GetBody added in v2.120.0

func (m *AppMessage_UserMessage) GetBody() string

func (*AppMessage_UserMessage) GetSentDate added in v2.120.0

func (m *AppMessage_UserMessage) GetSentDate() int64

func (*AppMessage_UserMessage) ProtoMessage added in v2.120.0

func (*AppMessage_UserMessage) ProtoMessage()

func (*AppMessage_UserMessage) Reset added in v2.120.0

func (m *AppMessage_UserMessage) Reset()

func (*AppMessage_UserMessage) String added in v2.120.0

func (m *AppMessage_UserMessage) String() string

func (*AppMessage_UserMessage) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_UserMessage) XXX_DiscardUnknown()

func (*AppMessage_UserMessage) XXX_Marshal added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_UserMessage) XXX_Merge added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Merge(src proto.Message)

func (*AppMessage_UserMessage) XXX_Size added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Size() int

func (*AppMessage_UserMessage) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_UserMessage) XXX_Unmarshal(b []byte) error

type AppMessage_UserReaction added in v2.120.0

type AppMessage_UserReaction struct {
	Emoji string `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"`
}

func (*AppMessage_UserReaction) Descriptor added in v2.120.0

func (*AppMessage_UserReaction) Descriptor() ([]byte, []int)

func (*AppMessage_UserReaction) GetEmoji added in v2.120.0

func (m *AppMessage_UserReaction) GetEmoji() string

func (*AppMessage_UserReaction) ProtoMessage added in v2.120.0

func (*AppMessage_UserReaction) ProtoMessage()

func (*AppMessage_UserReaction) Reset added in v2.120.0

func (m *AppMessage_UserReaction) Reset()

func (*AppMessage_UserReaction) String added in v2.120.0

func (m *AppMessage_UserReaction) String() string

func (*AppMessage_UserReaction) XXX_DiscardUnknown added in v2.120.0

func (m *AppMessage_UserReaction) XXX_DiscardUnknown()

func (*AppMessage_UserReaction) XXX_Marshal added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppMessage_UserReaction) XXX_Merge added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Merge(src proto.Message)

func (*AppMessage_UserReaction) XXX_Size added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Size() int

func (*AppMessage_UserReaction) XXX_Unmarshal added in v2.120.0

func (m *AppMessage_UserReaction) XXX_Unmarshal(b []byte) error

type BertyGroup added in v2.85.0

type BertyGroup struct {
	Group       *bertytypes.Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	DisplayName string            `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*BertyGroup) Descriptor added in v2.85.0

func (*BertyGroup) Descriptor() ([]byte, []int)

func (*BertyGroup) GetDisplayName added in v2.85.0

func (m *BertyGroup) GetDisplayName() string

func (*BertyGroup) GetGroup added in v2.85.0

func (m *BertyGroup) GetGroup() *bertytypes.Group

func (*BertyGroup) ProtoMessage added in v2.85.0

func (*BertyGroup) ProtoMessage()

func (*BertyGroup) Reset added in v2.85.0

func (m *BertyGroup) Reset()

func (*BertyGroup) String added in v2.85.0

func (m *BertyGroup) String() string

func (*BertyGroup) XXX_DiscardUnknown added in v2.85.0

func (m *BertyGroup) XXX_DiscardUnknown()

func (*BertyGroup) XXX_Marshal added in v2.85.0

func (m *BertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BertyGroup) XXX_Merge added in v2.85.0

func (m *BertyGroup) XXX_Merge(src proto.Message)

func (*BertyGroup) XXX_Size added in v2.85.0

func (m *BertyGroup) XXX_Size() int

func (*BertyGroup) XXX_Unmarshal added in v2.85.0

func (m *BertyGroup) XXX_Unmarshal(b []byte) error

type BertyID added in v2.66.0

type BertyID struct {
	PublicRendezvousSeed []byte `protobuf:"bytes,1,opt,name=public_rendezvous_seed,json=publicRendezvousSeed,proto3" json:"public_rendezvous_seed,omitempty"`
	AccountPK            []byte `protobuf:"bytes,2,opt,name=account_pk,json=accountPk,proto3" json:"account_pk,omitempty"`
	DisplayName          string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*BertyID) Descriptor added in v2.66.0

func (*BertyID) Descriptor() ([]byte, []int)

func (*BertyID) GetAccountPK added in v2.66.0

func (m *BertyID) GetAccountPK() []byte

func (*BertyID) GetDisplayName added in v2.66.0

func (m *BertyID) GetDisplayName() string

func (*BertyID) GetPublicRendezvousSeed added in v2.66.0

func (m *BertyID) GetPublicRendezvousSeed() []byte

func (*BertyID) ProtoMessage added in v2.66.0

func (*BertyID) ProtoMessage()

func (*BertyID) Reset added in v2.66.0

func (m *BertyID) Reset()

func (*BertyID) String added in v2.66.0

func (m *BertyID) String() string

func (*BertyID) XXX_DiscardUnknown added in v2.66.0

func (m *BertyID) XXX_DiscardUnknown()

func (*BertyID) XXX_Marshal added in v2.66.0

func (m *BertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BertyID) XXX_Merge added in v2.66.0

func (m *BertyID) XXX_Merge(src proto.Message)

func (*BertyID) XXX_Size added in v2.66.0

func (m *BertyID) XXX_Size() int

func (*BertyID) XXX_Unmarshal added in v2.66.0

func (m *BertyID) XXX_Unmarshal(b []byte) error

type Contact added in v2.120.0

type Contact struct {
	PublicKey   string        `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primary_key"`
	DisplayName string        `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	State       Contact_State `protobuf:"varint,3,opt,name=state,proto3,enum=berty.messenger.v1.Contact_State" json:"state,omitempty"`
}

func (*Contact) Descriptor added in v2.120.0

func (*Contact) Descriptor() ([]byte, []int)

func (*Contact) GetDisplayName added in v2.120.0

func (m *Contact) GetDisplayName() string

func (*Contact) GetPublicKey added in v2.120.0

func (m *Contact) GetPublicKey() string

func (*Contact) GetState added in v2.120.0

func (m *Contact) GetState() Contact_State

func (*Contact) ProtoMessage added in v2.120.0

func (*Contact) ProtoMessage()

func (*Contact) Reset added in v2.120.0

func (m *Contact) Reset()

func (*Contact) String added in v2.120.0

func (m *Contact) String() string

func (*Contact) XXX_DiscardUnknown added in v2.120.0

func (m *Contact) XXX_DiscardUnknown()

func (*Contact) XXX_Marshal added in v2.120.0

func (m *Contact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Contact) XXX_Merge added in v2.120.0

func (m *Contact) XXX_Merge(src proto.Message)

func (*Contact) XXX_Size added in v2.120.0

func (m *Contact) XXX_Size() int

func (*Contact) XXX_Unmarshal added in v2.120.0

func (m *Contact) XXX_Unmarshal(b []byte) error

type ContactMetadata added in v2.120.0

type ContactMetadata struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*ContactMetadata) Descriptor added in v2.120.0

func (*ContactMetadata) Descriptor() ([]byte, []int)

func (*ContactMetadata) GetDisplayName added in v2.120.0

func (m *ContactMetadata) GetDisplayName() string

func (*ContactMetadata) ProtoMessage added in v2.120.0

func (*ContactMetadata) ProtoMessage()

func (*ContactMetadata) Reset added in v2.120.0

func (m *ContactMetadata) Reset()

func (*ContactMetadata) String added in v2.120.0

func (m *ContactMetadata) String() string

func (*ContactMetadata) XXX_DiscardUnknown added in v2.120.0

func (m *ContactMetadata) XXX_DiscardUnknown()

func (*ContactMetadata) XXX_Marshal added in v2.120.0

func (m *ContactMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactMetadata) XXX_Merge added in v2.120.0

func (m *ContactMetadata) XXX_Merge(src proto.Message)

func (*ContactMetadata) XXX_Size added in v2.120.0

func (m *ContactMetadata) XXX_Size() int

func (*ContactMetadata) XXX_Unmarshal added in v2.120.0

func (m *ContactMetadata) XXX_Unmarshal(b []byte) error

type Contact_State added in v2.120.0

type Contact_State int32
const (
	Contact_Undefined               Contact_State = 0
	Contact_IncomingRequest         Contact_State = 1
	Contact_OutgoingRequestEnqueued Contact_State = 2
	Contact_OutgoingRequestSent     Contact_State = 3
	Contact_Established             Contact_State = 4
)

func (Contact_State) EnumDescriptor added in v2.120.0

func (Contact_State) EnumDescriptor() ([]byte, []int)

func (Contact_State) String added in v2.120.0

func (x Contact_State) String() string

type Conversation added in v2.120.0

type Conversation struct {
	PublicKey   string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primary_key"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*Conversation) Descriptor added in v2.120.0

func (*Conversation) Descriptor() ([]byte, []int)

func (*Conversation) GetDisplayName added in v2.120.0

func (m *Conversation) GetDisplayName() string

func (*Conversation) GetPublicKey added in v2.120.0

func (m *Conversation) GetPublicKey() string

func (*Conversation) ProtoMessage added in v2.120.0

func (*Conversation) ProtoMessage()

func (*Conversation) Reset added in v2.120.0

func (m *Conversation) Reset()

func (*Conversation) String added in v2.120.0

func (m *Conversation) String() string

func (*Conversation) XXX_DiscardUnknown added in v2.120.0

func (m *Conversation) XXX_DiscardUnknown()

func (*Conversation) XXX_Marshal added in v2.120.0

func (m *Conversation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Conversation) XXX_Merge added in v2.120.0

func (m *Conversation) XXX_Merge(src proto.Message)

func (*Conversation) XXX_Size added in v2.120.0

func (m *Conversation) XXX_Size() int

func (*Conversation) XXX_Unmarshal added in v2.120.0

func (m *Conversation) XXX_Unmarshal(b []byte) error

type ConversationCreate added in v2.120.0

type ConversationCreate struct {
}

func (*ConversationCreate) Descriptor added in v2.120.0

func (*ConversationCreate) Descriptor() ([]byte, []int)

func (*ConversationCreate) ProtoMessage added in v2.120.0

func (*ConversationCreate) ProtoMessage()

func (*ConversationCreate) Reset added in v2.120.0

func (m *ConversationCreate) Reset()

func (*ConversationCreate) String added in v2.120.0

func (m *ConversationCreate) String() string

func (*ConversationCreate) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationCreate) XXX_DiscardUnknown()

func (*ConversationCreate) XXX_Marshal added in v2.120.0

func (m *ConversationCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate) XXX_Merge added in v2.120.0

func (m *ConversationCreate) XXX_Merge(src proto.Message)

func (*ConversationCreate) XXX_Size added in v2.120.0

func (m *ConversationCreate) XXX_Size() int

func (*ConversationCreate) XXX_Unmarshal added in v2.120.0

func (m *ConversationCreate) XXX_Unmarshal(b []byte) error

type ConversationCreate_Reply added in v2.120.0

type ConversationCreate_Reply struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*ConversationCreate_Reply) Descriptor added in v2.120.0

func (*ConversationCreate_Reply) Descriptor() ([]byte, []int)

func (*ConversationCreate_Reply) GetPublicKey added in v2.120.0

func (m *ConversationCreate_Reply) GetPublicKey() string

func (*ConversationCreate_Reply) ProtoMessage added in v2.120.0

func (*ConversationCreate_Reply) ProtoMessage()

func (*ConversationCreate_Reply) Reset added in v2.120.0

func (m *ConversationCreate_Reply) Reset()

func (*ConversationCreate_Reply) String added in v2.120.0

func (m *ConversationCreate_Reply) String() string

func (*ConversationCreate_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationCreate_Reply) XXX_DiscardUnknown()

func (*ConversationCreate_Reply) XXX_Marshal added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate_Reply) XXX_Merge added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Merge(src proto.Message)

func (*ConversationCreate_Reply) XXX_Size added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Size() int

func (*ConversationCreate_Reply) XXX_Unmarshal added in v2.120.0

func (m *ConversationCreate_Reply) XXX_Unmarshal(b []byte) error

type ConversationCreate_Request added in v2.120.0

type ConversationCreate_Request struct {
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*ConversationCreate_Request) Descriptor added in v2.120.0

func (*ConversationCreate_Request) Descriptor() ([]byte, []int)

func (*ConversationCreate_Request) GetDisplayName added in v2.120.0

func (m *ConversationCreate_Request) GetDisplayName() string

func (*ConversationCreate_Request) ProtoMessage added in v2.120.0

func (*ConversationCreate_Request) ProtoMessage()

func (*ConversationCreate_Request) Reset added in v2.120.0

func (m *ConversationCreate_Request) Reset()

func (*ConversationCreate_Request) String added in v2.120.0

func (m *ConversationCreate_Request) String() string

func (*ConversationCreate_Request) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationCreate_Request) XXX_DiscardUnknown()

func (*ConversationCreate_Request) XXX_Marshal added in v2.120.0

func (m *ConversationCreate_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationCreate_Request) XXX_Merge added in v2.120.0

func (m *ConversationCreate_Request) XXX_Merge(src proto.Message)

func (*ConversationCreate_Request) XXX_Size added in v2.120.0

func (m *ConversationCreate_Request) XXX_Size() int

func (*ConversationCreate_Request) XXX_Unmarshal added in v2.120.0

func (m *ConversationCreate_Request) XXX_Unmarshal(b []byte) error

type ConversationStream added in v2.120.0

type ConversationStream struct {
}

func (*ConversationStream) Descriptor added in v2.120.0

func (*ConversationStream) Descriptor() ([]byte, []int)

func (*ConversationStream) ProtoMessage added in v2.120.0

func (*ConversationStream) ProtoMessage()

func (*ConversationStream) Reset added in v2.120.0

func (m *ConversationStream) Reset()

func (*ConversationStream) String added in v2.120.0

func (m *ConversationStream) String() string

func (*ConversationStream) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationStream) XXX_DiscardUnknown()

func (*ConversationStream) XXX_Marshal added in v2.120.0

func (m *ConversationStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream) XXX_Merge added in v2.120.0

func (m *ConversationStream) XXX_Merge(src proto.Message)

func (*ConversationStream) XXX_Size added in v2.120.0

func (m *ConversationStream) XXX_Size() int

func (*ConversationStream) XXX_Unmarshal added in v2.120.0

func (m *ConversationStream) XXX_Unmarshal(b []byte) error

type ConversationStream_Reply added in v2.120.0

type ConversationStream_Reply struct {
	Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
}

func (*ConversationStream_Reply) Descriptor added in v2.120.0

func (*ConversationStream_Reply) Descriptor() ([]byte, []int)

func (*ConversationStream_Reply) GetConversation added in v2.120.0

func (m *ConversationStream_Reply) GetConversation() *Conversation

func (*ConversationStream_Reply) ProtoMessage added in v2.120.0

func (*ConversationStream_Reply) ProtoMessage()

func (*ConversationStream_Reply) Reset added in v2.120.0

func (m *ConversationStream_Reply) Reset()

func (*ConversationStream_Reply) String added in v2.120.0

func (m *ConversationStream_Reply) String() string

func (*ConversationStream_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationStream_Reply) XXX_DiscardUnknown()

func (*ConversationStream_Reply) XXX_Marshal added in v2.120.0

func (m *ConversationStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream_Reply) XXX_Merge added in v2.120.0

func (m *ConversationStream_Reply) XXX_Merge(src proto.Message)

func (*ConversationStream_Reply) XXX_Size added in v2.120.0

func (m *ConversationStream_Reply) XXX_Size() int

func (*ConversationStream_Reply) XXX_Unmarshal added in v2.120.0

func (m *ConversationStream_Reply) XXX_Unmarshal(b []byte) error

type ConversationStream_Request added in v2.120.0

type ConversationStream_Request struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
}

func (*ConversationStream_Request) Descriptor added in v2.120.0

func (*ConversationStream_Request) Descriptor() ([]byte, []int)

func (*ConversationStream_Request) GetCount added in v2.120.0

func (m *ConversationStream_Request) GetCount() uint64

func (*ConversationStream_Request) GetPage added in v2.120.0

func (m *ConversationStream_Request) GetPage() uint64

func (*ConversationStream_Request) ProtoMessage added in v2.120.0

func (*ConversationStream_Request) ProtoMessage()

func (*ConversationStream_Request) Reset added in v2.120.0

func (m *ConversationStream_Request) Reset()

func (*ConversationStream_Request) String added in v2.120.0

func (m *ConversationStream_Request) String() string

func (*ConversationStream_Request) XXX_DiscardUnknown added in v2.120.0

func (m *ConversationStream_Request) XXX_DiscardUnknown()

func (*ConversationStream_Request) XXX_Marshal added in v2.120.0

func (m *ConversationStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConversationStream_Request) XXX_Merge added in v2.120.0

func (m *ConversationStream_Request) XXX_Merge(src proto.Message)

func (*ConversationStream_Request) XXX_Size added in v2.120.0

func (m *ConversationStream_Request) XXX_Size() int

func (*ConversationStream_Request) XXX_Unmarshal added in v2.120.0

func (m *ConversationStream_Request) XXX_Unmarshal(b []byte) error

type DevShareInstanceBertyID

type DevShareInstanceBertyID struct {
}

func (*DevShareInstanceBertyID) Descriptor

func (*DevShareInstanceBertyID) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID) ProtoMessage

func (*DevShareInstanceBertyID) ProtoMessage()

func (*DevShareInstanceBertyID) Reset

func (m *DevShareInstanceBertyID) Reset()

func (*DevShareInstanceBertyID) String

func (m *DevShareInstanceBertyID) String() string

func (*DevShareInstanceBertyID) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID) XXX_Marshal

func (m *DevShareInstanceBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID) XXX_Merge

func (m *DevShareInstanceBertyID) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID) XXX_Size

func (m *DevShareInstanceBertyID) XXX_Size() int

func (*DevShareInstanceBertyID) XXX_Unmarshal

func (m *DevShareInstanceBertyID) XXX_Unmarshal(b []byte) error

type DevShareInstanceBertyID_Reply

type DevShareInstanceBertyID_Reply struct {
}

func (*DevShareInstanceBertyID_Reply) Descriptor

func (*DevShareInstanceBertyID_Reply) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID_Reply) ProtoMessage

func (*DevShareInstanceBertyID_Reply) ProtoMessage()

func (*DevShareInstanceBertyID_Reply) Reset

func (m *DevShareInstanceBertyID_Reply) Reset()

func (*DevShareInstanceBertyID_Reply) String

func (*DevShareInstanceBertyID_Reply) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID_Reply) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID_Reply) XXX_Marshal

func (m *DevShareInstanceBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID_Reply) XXX_Merge

func (m *DevShareInstanceBertyID_Reply) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID_Reply) XXX_Size

func (m *DevShareInstanceBertyID_Reply) XXX_Size() int

func (*DevShareInstanceBertyID_Reply) XXX_Unmarshal

func (m *DevShareInstanceBertyID_Reply) XXX_Unmarshal(b []byte) error

type DevShareInstanceBertyID_Request

type DevShareInstanceBertyID_Request struct {
	// reset will regenerate a new link
	Reset_      bool   `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*DevShareInstanceBertyID_Request) Descriptor

func (*DevShareInstanceBertyID_Request) Descriptor() ([]byte, []int)

func (*DevShareInstanceBertyID_Request) GetDisplayName

func (m *DevShareInstanceBertyID_Request) GetDisplayName() string

func (*DevShareInstanceBertyID_Request) GetReset_

func (m *DevShareInstanceBertyID_Request) GetReset_() bool

func (*DevShareInstanceBertyID_Request) ProtoMessage

func (*DevShareInstanceBertyID_Request) ProtoMessage()

func (*DevShareInstanceBertyID_Request) Reset

func (*DevShareInstanceBertyID_Request) String

func (*DevShareInstanceBertyID_Request) XXX_DiscardUnknown

func (m *DevShareInstanceBertyID_Request) XXX_DiscardUnknown()

func (*DevShareInstanceBertyID_Request) XXX_Marshal

func (m *DevShareInstanceBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevShareInstanceBertyID_Request) XXX_Merge

func (m *DevShareInstanceBertyID_Request) XXX_Merge(src proto.Message)

func (*DevShareInstanceBertyID_Request) XXX_Size

func (m *DevShareInstanceBertyID_Request) XXX_Size() int

func (*DevShareInstanceBertyID_Request) XXX_Unmarshal

func (m *DevShareInstanceBertyID_Request) XXX_Unmarshal(b []byte) error

type Device added in v2.120.0

type Device struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primary_key"`
}

func (*Device) Descriptor added in v2.120.0

func (*Device) Descriptor() ([]byte, []int)

func (*Device) GetPublicKey added in v2.120.0

func (m *Device) GetPublicKey() string

func (*Device) ProtoMessage added in v2.120.0

func (*Device) ProtoMessage()

func (*Device) Reset added in v2.120.0

func (m *Device) Reset()

func (*Device) String added in v2.120.0

func (m *Device) String() string

func (*Device) XXX_DiscardUnknown added in v2.120.0

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal added in v2.120.0

func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Device) XXX_Merge added in v2.120.0

func (m *Device) XXX_Merge(src proto.Message)

func (*Device) XXX_Size added in v2.120.0

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal added in v2.120.0

func (m *Device) XXX_Unmarshal(b []byte) error

type Dispatcher added in v2.120.0

type Dispatcher struct {
	// contains filtered or unexported fields
}

func NewDispatcher added in v2.120.0

func NewDispatcher() *Dispatcher

func (*Dispatcher) Register added in v2.120.0

func (d *Dispatcher) Register(n Notifiee) func()

func (*Dispatcher) StreamEvent added in v2.120.0

func (d *Dispatcher) StreamEvent(c *StreamEvent) []error

func (*Dispatcher) Unregister added in v2.120.0

func (d *Dispatcher) Unregister(n Notifiee)

type EventStream added in v2.120.0

type EventStream struct {
}

func (*EventStream) Descriptor added in v2.120.0

func (*EventStream) Descriptor() ([]byte, []int)

func (*EventStream) ProtoMessage added in v2.120.0

func (*EventStream) ProtoMessage()

func (*EventStream) Reset added in v2.120.0

func (m *EventStream) Reset()

func (*EventStream) String added in v2.120.0

func (m *EventStream) String() string

func (*EventStream) XXX_DiscardUnknown added in v2.120.0

func (m *EventStream) XXX_DiscardUnknown()

func (*EventStream) XXX_Marshal added in v2.120.0

func (m *EventStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream) XXX_Merge added in v2.120.0

func (m *EventStream) XXX_Merge(src proto.Message)

func (*EventStream) XXX_Size added in v2.120.0

func (m *EventStream) XXX_Size() int

func (*EventStream) XXX_Unmarshal added in v2.120.0

func (m *EventStream) XXX_Unmarshal(b []byte) error

type EventStream_Reply added in v2.120.0

type EventStream_Reply struct {
	Event *StreamEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
}

func (*EventStream_Reply) Descriptor added in v2.120.0

func (*EventStream_Reply) Descriptor() ([]byte, []int)

func (*EventStream_Reply) GetEvent added in v2.120.0

func (m *EventStream_Reply) GetEvent() *StreamEvent

func (*EventStream_Reply) ProtoMessage added in v2.120.0

func (*EventStream_Reply) ProtoMessage()

func (*EventStream_Reply) Reset added in v2.120.0

func (m *EventStream_Reply) Reset()

func (*EventStream_Reply) String added in v2.120.0

func (m *EventStream_Reply) String() string

func (*EventStream_Reply) XXX_DiscardUnknown added in v2.120.0

func (m *EventStream_Reply) XXX_DiscardUnknown()

func (*EventStream_Reply) XXX_Marshal added in v2.120.0

func (m *EventStream_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream_Reply) XXX_Merge added in v2.120.0

func (m *EventStream_Reply) XXX_Merge(src proto.Message)

func (*EventStream_Reply) XXX_Size added in v2.120.0

func (m *EventStream_Reply) XXX_Size() int

func (*EventStream_Reply) XXX_Unmarshal added in v2.120.0

func (m *EventStream_Reply) XXX_Unmarshal(b []byte) error

type EventStream_Request added in v2.120.0

type EventStream_Request struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
}

func (*EventStream_Request) Descriptor added in v2.120.0

func (*EventStream_Request) Descriptor() ([]byte, []int)

func (*EventStream_Request) GetCount added in v2.120.0

func (m *EventStream_Request) GetCount() uint64

func (*EventStream_Request) GetPage added in v2.120.0

func (m *EventStream_Request) GetPage() uint64

func (*EventStream_Request) ProtoMessage added in v2.120.0

func (*EventStream_Request) ProtoMessage()

func (*EventStream_Request) Reset added in v2.120.0

func (m *EventStream_Request) Reset()

func (*EventStream_Request) String added in v2.120.0

func (m *EventStream_Request) String() string

func (*EventStream_Request) XXX_DiscardUnknown added in v2.120.0

func (m *EventStream_Request) XXX_DiscardUnknown()

func (*EventStream_Request) XXX_Marshal added in v2.120.0

func (m *EventStream_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventStream_Request) XXX_Merge added in v2.120.0

func (m *EventStream_Request) XXX_Merge(src proto.Message)

func (*EventStream_Request) XXX_Size added in v2.120.0

func (m *EventStream_Request) XXX_Size() int

func (*EventStream_Request) XXX_Unmarshal added in v2.120.0

func (m *EventStream_Request) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID

type InstanceShareableBertyID struct {
}

func (*InstanceShareableBertyID) Descriptor

func (*InstanceShareableBertyID) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID) ProtoMessage

func (*InstanceShareableBertyID) ProtoMessage()

func (*InstanceShareableBertyID) Reset

func (m *InstanceShareableBertyID) Reset()

func (*InstanceShareableBertyID) String

func (m *InstanceShareableBertyID) String() string

func (*InstanceShareableBertyID) XXX_DiscardUnknown

func (m *InstanceShareableBertyID) XXX_DiscardUnknown()

func (*InstanceShareableBertyID) XXX_Marshal

func (m *InstanceShareableBertyID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID) XXX_Merge

func (m *InstanceShareableBertyID) XXX_Merge(src proto.Message)

func (*InstanceShareableBertyID) XXX_Size

func (m *InstanceShareableBertyID) XXX_Size() int

func (*InstanceShareableBertyID) XXX_Unmarshal

func (m *InstanceShareableBertyID) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID_Reply

type InstanceShareableBertyID_Reply struct {
	BertyID        *BertyID `protobuf:"bytes,1,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	BertyIDPayload string   `protobuf:"bytes,2,opt,name=berty_id_payload,json=bertyIdPayload,proto3" json:"berty_id_payload,omitempty"`
	DeepLink       string   `protobuf:"bytes,3,opt,name=deep_link,json=deepLink,proto3" json:"deep_link,omitempty"`
	HTMLURL        string   `protobuf:"bytes,4,opt,name=html_url,json=htmlUrl,proto3" json:"html_url,omitempty"`
}

func (*InstanceShareableBertyID_Reply) Descriptor

func (*InstanceShareableBertyID_Reply) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID_Reply) GetBertyID

func (m *InstanceShareableBertyID_Reply) GetBertyID() *BertyID

func (*InstanceShareableBertyID_Reply) GetBertyIDPayload added in v2.66.0

func (m *InstanceShareableBertyID_Reply) GetBertyIDPayload() string
func (m *InstanceShareableBertyID_Reply) GetDeepLink() string

func (*InstanceShareableBertyID_Reply) GetHTMLURL

func (m *InstanceShareableBertyID_Reply) GetHTMLURL() string

func (*InstanceShareableBertyID_Reply) ProtoMessage

func (*InstanceShareableBertyID_Reply) ProtoMessage()

func (*InstanceShareableBertyID_Reply) Reset

func (m *InstanceShareableBertyID_Reply) Reset()

func (*InstanceShareableBertyID_Reply) String

func (*InstanceShareableBertyID_Reply) XXX_DiscardUnknown

func (m *InstanceShareableBertyID_Reply) XXX_DiscardUnknown()

func (*InstanceShareableBertyID_Reply) XXX_Marshal

func (m *InstanceShareableBertyID_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID_Reply) XXX_Merge

func (m *InstanceShareableBertyID_Reply) XXX_Merge(src proto.Message)

func (*InstanceShareableBertyID_Reply) XXX_Size

func (m *InstanceShareableBertyID_Reply) XXX_Size() int

func (*InstanceShareableBertyID_Reply) XXX_Unmarshal

func (m *InstanceShareableBertyID_Reply) XXX_Unmarshal(b []byte) error

type InstanceShareableBertyID_Request

type InstanceShareableBertyID_Request struct {
	// reset will regenerate a new link
	Reset_      bool   `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}

func (*InstanceShareableBertyID_Request) Descriptor

func (*InstanceShareableBertyID_Request) Descriptor() ([]byte, []int)

func (*InstanceShareableBertyID_Request) GetDisplayName

func (m *InstanceShareableBertyID_Request) GetDisplayName() string

func (*InstanceShareableBertyID_Request) GetReset_

func (m *InstanceShareableBertyID_Request) GetReset_() bool

func (*InstanceShareableBertyID_Request) ProtoMessage

func (*InstanceShareableBertyID_Request) ProtoMessage()

func (*InstanceShareableBertyID_Request) Reset

func (*InstanceShareableBertyID_Request) String

func (*InstanceShareableBertyID_Request) XXX_DiscardUnknown

func (m *InstanceShareableBertyID_Request) XXX_DiscardUnknown()

func (*InstanceShareableBertyID_Request) XXX_Marshal

func (m *InstanceShareableBertyID_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstanceShareableBertyID_Request) XXX_Merge

func (*InstanceShareableBertyID_Request) XXX_Size

func (m *InstanceShareableBertyID_Request) XXX_Size() int

func (*InstanceShareableBertyID_Request) XXX_Unmarshal

func (m *InstanceShareableBertyID_Request) XXX_Unmarshal(b []byte) error

type Member added in v2.120.0

type Member struct {
	PublicKey   string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" gorm:"primary_key"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	GivenName   string `protobuf:"bytes,3,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
}

func (*Member) Descriptor added in v2.120.0

func (*Member) Descriptor() ([]byte, []int)

func (*Member) GetDisplayName added in v2.120.0

func (m *Member) GetDisplayName() string

func (*Member) GetGivenName added in v2.120.0

func (m *Member) GetGivenName() string

func (*Member) GetPublicKey added in v2.120.0

func (m *Member) GetPublicKey() string

func (*Member) ProtoMessage added in v2.120.0

func (*Member) ProtoMessage()

func (*Member) Reset added in v2.120.0

func (m *Member) Reset()

func (*Member) String added in v2.120.0

func (m *Member) String() string

func (*Member) XXX_DiscardUnknown added in v2.120.0

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal added in v2.120.0

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge added in v2.120.0

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size added in v2.120.0

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal added in v2.120.0

func (m *Member) XXX_Unmarshal(b []byte) error

type MessengerServiceClient

type MessengerServiceClient interface {
	// InstanceShareableBertyID returns a Berty ID that can be shared as a string, QR code or deep link.
	InstanceShareableBertyID(ctx context.Context, in *InstanceShareableBertyID_Request, opts ...grpc.CallOption) (*InstanceShareableBertyID_Reply, error)
	// ShareableBertyGroup returns a Berty Group that can be shared as a string, QR code or deep link.
	ShareableBertyGroup(ctx context.Context, in *ShareableBertyGroup_Request, opts ...grpc.CallOption) (*ShareableBertyGroup_Reply, error)
	// DevShareInstanceBertyID shares your Berty ID on a dev channel.
	// TODO: remove for public.
	DevShareInstanceBertyID(ctx context.Context, in *DevShareInstanceBertyID_Request, opts ...grpc.CallOption) (*DevShareInstanceBertyID_Reply, error)
	// ParseDeepLink parses a link in the form of berty://xxx or https://berty.tech/id# and returns a structure
	// that can be used to display information.
	// This action is read-only.
	ParseDeepLink(ctx context.Context, in *ParseDeepLink_Request, opts ...grpc.CallOption) (*ParseDeepLink_Reply, error)
	// SendContactRequest takes the payload received from ParseDeepLink and send a contact request using the Berty Protocol.
	SendContactRequest(ctx context.Context, in *SendContactRequest_Request, opts ...grpc.CallOption) (*SendContactRequest_Reply, error)
	// SendMessage sends a message to a group
	SendMessage(ctx context.Context, in *SendMessage_Request, opts ...grpc.CallOption) (*SendMessage_Reply, error)
	// SendAck sends an acknowledge payload for given message id
	SendAck(ctx context.Context, in *SendAck_Request, opts ...grpc.CallOption) (*SendAck_Reply, error)
	SystemInfo(ctx context.Context, in *SystemInfo_Request, opts ...grpc.CallOption) (*SystemInfo_Reply, error)
	ConversationStream(ctx context.Context, in *ConversationStream_Request, opts ...grpc.CallOption) (MessengerService_ConversationStreamClient, error)
	EventStream(ctx context.Context, in *EventStream_Request, opts ...grpc.CallOption) (MessengerService_EventStreamClient, error)
	ConversationCreate(ctx context.Context, in *ConversationCreate_Request, opts ...grpc.CallOption) (*ConversationCreate_Reply, error)
	AccountGet(ctx context.Context, in *AccountGet_Request, opts ...grpc.CallOption) (*AccountGet_Reply, error)
}

MessengerServiceClient is the client API for MessengerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMessengerServiceClient

func NewMessengerServiceClient(cc *grpc.ClientConn) MessengerServiceClient

type MessengerServiceServer

type MessengerServiceServer interface {
	// InstanceShareableBertyID returns a Berty ID that can be shared as a string, QR code or deep link.
	InstanceShareableBertyID(context.Context, *InstanceShareableBertyID_Request) (*InstanceShareableBertyID_Reply, error)
	// ShareableBertyGroup returns a Berty Group that can be shared as a string, QR code or deep link.
	ShareableBertyGroup(context.Context, *ShareableBertyGroup_Request) (*ShareableBertyGroup_Reply, error)
	// DevShareInstanceBertyID shares your Berty ID on a dev channel.
	// TODO: remove for public.
	DevShareInstanceBertyID(context.Context, *DevShareInstanceBertyID_Request) (*DevShareInstanceBertyID_Reply, error)
	// ParseDeepLink parses a link in the form of berty://xxx or https://berty.tech/id# and returns a structure
	// that can be used to display information.
	// This action is read-only.
	ParseDeepLink(context.Context, *ParseDeepLink_Request) (*ParseDeepLink_Reply, error)
	// SendContactRequest takes the payload received from ParseDeepLink and send a contact request using the Berty Protocol.
	SendContactRequest(context.Context, *SendContactRequest_Request) (*SendContactRequest_Reply, error)
	// SendMessage sends a message to a group
	SendMessage(context.Context, *SendMessage_Request) (*SendMessage_Reply, error)
	// SendAck sends an acknowledge payload for given message id
	SendAck(context.Context, *SendAck_Request) (*SendAck_Reply, error)
	SystemInfo(context.Context, *SystemInfo_Request) (*SystemInfo_Reply, error)
	ConversationStream(*ConversationStream_Request, MessengerService_ConversationStreamServer) error
	EventStream(*EventStream_Request, MessengerService_EventStreamServer) error
	ConversationCreate(context.Context, *ConversationCreate_Request) (*ConversationCreate_Reply, error)
	AccountGet(context.Context, *AccountGet_Request) (*AccountGet_Reply, error)
}

MessengerServiceServer is the server API for MessengerService service.

func TestingService

func TestingService(ctx context.Context, t *testing.T, opts *TestingServiceOpts) (MessengerServiceServer, func())

type MessengerService_ConversationStreamClient added in v2.120.0

type MessengerService_ConversationStreamClient interface {
	Recv() (*ConversationStream_Reply, error)
	grpc.ClientStream
}

type MessengerService_ConversationStreamServer added in v2.120.0

type MessengerService_ConversationStreamServer interface {
	Send(*ConversationStream_Reply) error
	grpc.ServerStream
}

type MessengerService_EventStreamClient added in v2.120.0

type MessengerService_EventStreamClient interface {
	Recv() (*EventStream_Reply, error)
	grpc.ClientStream
}

type MessengerService_EventStreamServer added in v2.120.0

type MessengerService_EventStreamServer interface {
	Send(*EventStream_Reply) error
	grpc.ServerStream
}

type Notifiee added in v2.120.0

type Notifiee interface {
	StreamEvent(*StreamEvent) error
}

should use EventStream types, this is a poc of the notifiee system à la ipfs

type NotifieeBundle added in v2.120.0

type NotifieeBundle struct {
	StreamEventImpl func(c *StreamEvent) error
}

func (*NotifieeBundle) StreamEvent added in v2.120.0

func (nb *NotifieeBundle) StreamEvent(c *StreamEvent) error

type Opts

type Opts struct {
	Logger          *zap.Logger
	ProtocolService bertyprotocol.Service
	DB              *gorm.DB
	Context         context.Context
}
type ParseDeepLink struct {
}

func (*ParseDeepLink) Descriptor added in v2.66.0

func (*ParseDeepLink) Descriptor() ([]byte, []int)

func (*ParseDeepLink) ProtoMessage added in v2.66.0

func (*ParseDeepLink) ProtoMessage()

func (*ParseDeepLink) Reset added in v2.66.0

func (m *ParseDeepLink) Reset()

func (*ParseDeepLink) String added in v2.66.0

func (m *ParseDeepLink) String() string

func (*ParseDeepLink) XXX_DiscardUnknown added in v2.66.0

func (m *ParseDeepLink) XXX_DiscardUnknown()

func (*ParseDeepLink) XXX_Marshal added in v2.66.0

func (m *ParseDeepLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParseDeepLink) XXX_Merge added in v2.66.0

func (m *ParseDeepLink) XXX_Merge(src proto.Message)

func (*ParseDeepLink) XXX_Size added in v2.66.0

func (m *ParseDeepLink) XXX_Size() int

func (*ParseDeepLink) XXX_Unmarshal added in v2.66.0

func (m *ParseDeepLink) XXX_Unmarshal(b []byte) error
type ParseDeepLink_Kind int32
const (
	ParseDeepLink_UnknownKind ParseDeepLink_Kind = 0
	ParseDeepLink_BertyID     ParseDeepLink_Kind = 1
	ParseDeepLink_BertyGroup  ParseDeepLink_Kind = 2
)
func (ParseDeepLink_Kind) EnumDescriptor() ([]byte, []int)
func (x ParseDeepLink_Kind) String() string
type ParseDeepLink_Reply struct {
	Kind       ParseDeepLink_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=berty.messenger.v1.ParseDeepLink_Kind" json:"kind,omitempty"`
	BertyID    *BertyID           `protobuf:"bytes,3,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	BertyGroup *BertyGroup        `protobuf:"bytes,4,opt,name=berty_group,json=bertyGroup,proto3" json:"berty_group,omitempty"`
}

func ParseGroupInviteURLQuery added in v2.85.0

func ParseGroupInviteURLQuery(query url.Values) (*ParseDeepLink_Reply, error)
func (*ParseDeepLink_Reply) Descriptor() ([]byte, []int)
func (m *ParseDeepLink_Reply) GetBertyGroup() *BertyGroup
func (m *ParseDeepLink_Reply) GetBertyID() *BertyID
func (*ParseDeepLink_Reply) ProtoMessage()
func (m *ParseDeepLink_Reply) Reset()
func (m *ParseDeepLink_Reply) String() string
func (m *ParseDeepLink_Reply) XXX_DiscardUnknown()
func (m *ParseDeepLink_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ParseDeepLink_Reply) XXX_Merge(src proto.Message)
func (m *ParseDeepLink_Reply) XXX_Size() int
func (m *ParseDeepLink_Reply) XXX_Unmarshal(b []byte) error
type ParseDeepLink_Request struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
}
func (*ParseDeepLink_Request) Descriptor() ([]byte, []int)
func (m *ParseDeepLink_Request) GetLink() string
func (*ParseDeepLink_Request) ProtoMessage()
func (m *ParseDeepLink_Request) Reset()
func (m *ParseDeepLink_Request) String() string
func (m *ParseDeepLink_Request) XXX_DiscardUnknown()
func (m *ParseDeepLink_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ParseDeepLink_Request) XXX_Merge(src proto.Message)
func (m *ParseDeepLink_Request) XXX_Size() int
func (m *ParseDeepLink_Request) XXX_Unmarshal(b []byte) error

type SendAck added in v2.85.0

type SendAck struct {
}

func (*SendAck) Descriptor added in v2.85.0

func (*SendAck) Descriptor() ([]byte, []int)

func (*SendAck) ProtoMessage added in v2.85.0

func (*SendAck) ProtoMessage()

func (*SendAck) Reset added in v2.85.0

func (m *SendAck) Reset()

func (*SendAck) String added in v2.85.0

func (m *SendAck) String() string

func (*SendAck) XXX_DiscardUnknown added in v2.85.0

func (m *SendAck) XXX_DiscardUnknown()

func (*SendAck) XXX_Marshal added in v2.85.0

func (m *SendAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck) XXX_Merge added in v2.85.0

func (m *SendAck) XXX_Merge(src proto.Message)

func (*SendAck) XXX_Size added in v2.85.0

func (m *SendAck) XXX_Size() int

func (*SendAck) XXX_Unmarshal added in v2.85.0

func (m *SendAck) XXX_Unmarshal(b []byte) error

type SendAck_Reply added in v2.85.0

type SendAck_Reply struct {
}

func (*SendAck_Reply) Descriptor added in v2.85.0

func (*SendAck_Reply) Descriptor() ([]byte, []int)

func (*SendAck_Reply) ProtoMessage added in v2.85.0

func (*SendAck_Reply) ProtoMessage()

func (*SendAck_Reply) Reset added in v2.85.0

func (m *SendAck_Reply) Reset()

func (*SendAck_Reply) String added in v2.85.0

func (m *SendAck_Reply) String() string

func (*SendAck_Reply) XXX_DiscardUnknown added in v2.85.0

func (m *SendAck_Reply) XXX_DiscardUnknown()

func (*SendAck_Reply) XXX_Marshal added in v2.85.0

func (m *SendAck_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck_Reply) XXX_Merge added in v2.85.0

func (m *SendAck_Reply) XXX_Merge(src proto.Message)

func (*SendAck_Reply) XXX_Size added in v2.85.0

func (m *SendAck_Reply) XXX_Size() int

func (*SendAck_Reply) XXX_Unmarshal added in v2.85.0

func (m *SendAck_Reply) XXX_Unmarshal(b []byte) error

type SendAck_Request added in v2.85.0

type SendAck_Request struct {
	GroupPK   []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	MessageID []byte `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
}

func (*SendAck_Request) Descriptor added in v2.85.0

func (*SendAck_Request) Descriptor() ([]byte, []int)

func (*SendAck_Request) GetGroupPK added in v2.85.0

func (m *SendAck_Request) GetGroupPK() []byte

func (*SendAck_Request) GetMessageID added in v2.85.0

func (m *SendAck_Request) GetMessageID() []byte

func (*SendAck_Request) ProtoMessage added in v2.85.0

func (*SendAck_Request) ProtoMessage()

func (*SendAck_Request) Reset added in v2.85.0

func (m *SendAck_Request) Reset()

func (*SendAck_Request) String added in v2.85.0

func (m *SendAck_Request) String() string

func (*SendAck_Request) XXX_DiscardUnknown added in v2.85.0

func (m *SendAck_Request) XXX_DiscardUnknown()

func (*SendAck_Request) XXX_Marshal added in v2.85.0

func (m *SendAck_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendAck_Request) XXX_Merge added in v2.85.0

func (m *SendAck_Request) XXX_Merge(src proto.Message)

func (*SendAck_Request) XXX_Size added in v2.85.0

func (m *SendAck_Request) XXX_Size() int

func (*SendAck_Request) XXX_Unmarshal added in v2.85.0

func (m *SendAck_Request) XXX_Unmarshal(b []byte) error

type SendContactRequest added in v2.66.0

type SendContactRequest struct {
}

func (*SendContactRequest) Descriptor added in v2.66.0

func (*SendContactRequest) Descriptor() ([]byte, []int)

func (*SendContactRequest) ProtoMessage added in v2.66.0

func (*SendContactRequest) ProtoMessage()

func (*SendContactRequest) Reset added in v2.66.0

func (m *SendContactRequest) Reset()

func (*SendContactRequest) String added in v2.66.0

func (m *SendContactRequest) String() string

func (*SendContactRequest) XXX_DiscardUnknown added in v2.66.0

func (m *SendContactRequest) XXX_DiscardUnknown()

func (*SendContactRequest) XXX_Marshal added in v2.66.0

func (m *SendContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest) XXX_Merge added in v2.66.0

func (m *SendContactRequest) XXX_Merge(src proto.Message)

func (*SendContactRequest) XXX_Size added in v2.66.0

func (m *SendContactRequest) XXX_Size() int

func (*SendContactRequest) XXX_Unmarshal added in v2.66.0

func (m *SendContactRequest) XXX_Unmarshal(b []byte) error

type SendContactRequest_Reply added in v2.66.0

type SendContactRequest_Reply struct {
}

func (*SendContactRequest_Reply) Descriptor added in v2.66.0

func (*SendContactRequest_Reply) Descriptor() ([]byte, []int)

func (*SendContactRequest_Reply) ProtoMessage added in v2.66.0

func (*SendContactRequest_Reply) ProtoMessage()

func (*SendContactRequest_Reply) Reset added in v2.66.0

func (m *SendContactRequest_Reply) Reset()

func (*SendContactRequest_Reply) String added in v2.66.0

func (m *SendContactRequest_Reply) String() string

func (*SendContactRequest_Reply) XXX_DiscardUnknown added in v2.66.0

func (m *SendContactRequest_Reply) XXX_DiscardUnknown()

func (*SendContactRequest_Reply) XXX_Marshal added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest_Reply) XXX_Merge added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Merge(src proto.Message)

func (*SendContactRequest_Reply) XXX_Size added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Size() int

func (*SendContactRequest_Reply) XXX_Unmarshal added in v2.66.0

func (m *SendContactRequest_Reply) XXX_Unmarshal(b []byte) error

type SendContactRequest_Request added in v2.66.0

type SendContactRequest_Request struct {
	BertyID     *BertyID `protobuf:"bytes,1,opt,name=berty_id,json=bertyId,proto3" json:"berty_id,omitempty"`
	Metadata    []byte   `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	OwnMetadata []byte   `protobuf:"bytes,3,opt,name=own_metadata,json=ownMetadata,proto3" json:"own_metadata,omitempty"`
}

func (*SendContactRequest_Request) Descriptor added in v2.66.0

func (*SendContactRequest_Request) Descriptor() ([]byte, []int)

func (*SendContactRequest_Request) GetBertyID added in v2.66.0

func (m *SendContactRequest_Request) GetBertyID() *BertyID

func (*SendContactRequest_Request) GetMetadata added in v2.66.0

func (m *SendContactRequest_Request) GetMetadata() []byte

func (*SendContactRequest_Request) GetOwnMetadata added in v2.72.1

func (m *SendContactRequest_Request) GetOwnMetadata() []byte

func (*SendContactRequest_Request) ProtoMessage added in v2.66.0

func (*SendContactRequest_Request) ProtoMessage()

func (*SendContactRequest_Request) Reset added in v2.66.0

func (m *SendContactRequest_Request) Reset()

func (*SendContactRequest_Request) String added in v2.66.0

func (m *SendContactRequest_Request) String() string

func (*SendContactRequest_Request) XXX_DiscardUnknown added in v2.66.0

func (m *SendContactRequest_Request) XXX_DiscardUnknown()

func (*SendContactRequest_Request) XXX_Marshal added in v2.66.0

func (m *SendContactRequest_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendContactRequest_Request) XXX_Merge added in v2.66.0

func (m *SendContactRequest_Request) XXX_Merge(src proto.Message)

func (*SendContactRequest_Request) XXX_Size added in v2.66.0

func (m *SendContactRequest_Request) XXX_Size() int

func (*SendContactRequest_Request) XXX_Unmarshal added in v2.66.0

func (m *SendContactRequest_Request) XXX_Unmarshal(b []byte) error

type SendMessage added in v2.85.0

type SendMessage struct {
}

func (*SendMessage) Descriptor added in v2.85.0

func (*SendMessage) Descriptor() ([]byte, []int)

func (*SendMessage) ProtoMessage added in v2.85.0

func (*SendMessage) ProtoMessage()

func (*SendMessage) Reset added in v2.85.0

func (m *SendMessage) Reset()

func (*SendMessage) String added in v2.85.0

func (m *SendMessage) String() string

func (*SendMessage) XXX_DiscardUnknown added in v2.85.0

func (m *SendMessage) XXX_DiscardUnknown()

func (*SendMessage) XXX_Marshal added in v2.85.0

func (m *SendMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage) XXX_Merge added in v2.85.0

func (m *SendMessage) XXX_Merge(src proto.Message)

func (*SendMessage) XXX_Size added in v2.85.0

func (m *SendMessage) XXX_Size() int

func (*SendMessage) XXX_Unmarshal added in v2.85.0

func (m *SendMessage) XXX_Unmarshal(b []byte) error

type SendMessage_Reply added in v2.85.0

type SendMessage_Reply struct {
}

func (*SendMessage_Reply) Descriptor added in v2.85.0

func (*SendMessage_Reply) Descriptor() ([]byte, []int)

func (*SendMessage_Reply) ProtoMessage added in v2.85.0

func (*SendMessage_Reply) ProtoMessage()

func (*SendMessage_Reply) Reset added in v2.85.0

func (m *SendMessage_Reply) Reset()

func (*SendMessage_Reply) String added in v2.85.0

func (m *SendMessage_Reply) String() string

func (*SendMessage_Reply) XXX_DiscardUnknown added in v2.85.0

func (m *SendMessage_Reply) XXX_DiscardUnknown()

func (*SendMessage_Reply) XXX_Marshal added in v2.85.0

func (m *SendMessage_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage_Reply) XXX_Merge added in v2.85.0

func (m *SendMessage_Reply) XXX_Merge(src proto.Message)

func (*SendMessage_Reply) XXX_Size added in v2.85.0

func (m *SendMessage_Reply) XXX_Size() int

func (*SendMessage_Reply) XXX_Unmarshal added in v2.85.0

func (m *SendMessage_Reply) XXX_Unmarshal(b []byte) error

type SendMessage_Request added in v2.85.0

type SendMessage_Request struct {
	GroupPK []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*SendMessage_Request) Descriptor added in v2.85.0

func (*SendMessage_Request) Descriptor() ([]byte, []int)

func (*SendMessage_Request) GetGroupPK added in v2.85.0

func (m *SendMessage_Request) GetGroupPK() []byte

func (*SendMessage_Request) GetMessage added in v2.85.0

func (m *SendMessage_Request) GetMessage() string

func (*SendMessage_Request) ProtoMessage added in v2.85.0

func (*SendMessage_Request) ProtoMessage()

func (*SendMessage_Request) Reset added in v2.85.0

func (m *SendMessage_Request) Reset()

func (*SendMessage_Request) String added in v2.85.0

func (m *SendMessage_Request) String() string

func (*SendMessage_Request) XXX_DiscardUnknown added in v2.85.0

func (m *SendMessage_Request) XXX_DiscardUnknown()

func (*SendMessage_Request) XXX_Marshal added in v2.85.0

func (m *SendMessage_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessage_Request) XXX_Merge added in v2.85.0

func (m *SendMessage_Request) XXX_Merge(src proto.Message)

func (*SendMessage_Request) XXX_Size added in v2.85.0

func (m *SendMessage_Request) XXX_Size() int

func (*SendMessage_Request) XXX_Unmarshal added in v2.85.0

func (m *SendMessage_Request) XXX_Unmarshal(b []byte) error

type Service added in v2.120.0

type Service interface {
	MessengerServiceServer
	Close()
}

func New

type ShareableBertyGroup added in v2.85.0

type ShareableBertyGroup struct {
}

func (*ShareableBertyGroup) Descriptor added in v2.85.0

func (*ShareableBertyGroup) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup) ProtoMessage added in v2.85.0

func (*ShareableBertyGroup) ProtoMessage()

func (*ShareableBertyGroup) Reset added in v2.85.0

func (m *ShareableBertyGroup) Reset()

func (*ShareableBertyGroup) String added in v2.85.0

func (m *ShareableBertyGroup) String() string

func (*ShareableBertyGroup) XXX_DiscardUnknown added in v2.85.0

func (m *ShareableBertyGroup) XXX_DiscardUnknown()

func (*ShareableBertyGroup) XXX_Marshal added in v2.85.0

func (m *ShareableBertyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup) XXX_Merge added in v2.85.0

func (m *ShareableBertyGroup) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup) XXX_Size added in v2.85.0

func (m *ShareableBertyGroup) XXX_Size() int

func (*ShareableBertyGroup) XXX_Unmarshal added in v2.85.0

func (m *ShareableBertyGroup) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup_Reply added in v2.85.0

type ShareableBertyGroup_Reply struct {
	BertyGroup        *BertyGroup `protobuf:"bytes,1,opt,name=berty_group,json=bertyGroup,proto3" json:"berty_group,omitempty"`
	BertyGroupPayload string      `protobuf:"bytes,2,opt,name=berty_group_payload,json=bertyGroupPayload,proto3" json:"berty_group_payload,omitempty"`
	DeepLink          string      `protobuf:"bytes,3,opt,name=deep_link,json=deepLink,proto3" json:"deep_link,omitempty"`
	HTMLURL           string      `protobuf:"bytes,4,opt,name=html_url,json=htmlUrl,proto3" json:"html_url,omitempty"`
}

func (*ShareableBertyGroup_Reply) Descriptor added in v2.85.0

func (*ShareableBertyGroup_Reply) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup_Reply) GetBertyGroup added in v2.85.0

func (m *ShareableBertyGroup_Reply) GetBertyGroup() *BertyGroup

func (*ShareableBertyGroup_Reply) GetBertyGroupPayload added in v2.85.0

func (m *ShareableBertyGroup_Reply) GetBertyGroupPayload() string
func (m *ShareableBertyGroup_Reply) GetDeepLink() string

func (*ShareableBertyGroup_Reply) GetHTMLURL added in v2.85.0

func (m *ShareableBertyGroup_Reply) GetHTMLURL() string

func (*ShareableBertyGroup_Reply) ProtoMessage added in v2.85.0

func (*ShareableBertyGroup_Reply) ProtoMessage()

func (*ShareableBertyGroup_Reply) Reset added in v2.85.0

func (m *ShareableBertyGroup_Reply) Reset()

func (*ShareableBertyGroup_Reply) String added in v2.85.0

func (m *ShareableBertyGroup_Reply) String() string

func (*ShareableBertyGroup_Reply) XXX_DiscardUnknown added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_DiscardUnknown()

func (*ShareableBertyGroup_Reply) XXX_Marshal added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup_Reply) XXX_Merge added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup_Reply) XXX_Size added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Size() int

func (*ShareableBertyGroup_Reply) XXX_Unmarshal added in v2.85.0

func (m *ShareableBertyGroup_Reply) XXX_Unmarshal(b []byte) error

type ShareableBertyGroup_Request added in v2.85.0

type ShareableBertyGroup_Request struct {
	GroupPK   []byte `protobuf:"bytes,1,opt,name=group_pk,json=groupPk,proto3" json:"group_pk,omitempty"`
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
}

func (*ShareableBertyGroup_Request) Descriptor added in v2.85.0

func (*ShareableBertyGroup_Request) Descriptor() ([]byte, []int)

func (*ShareableBertyGroup_Request) GetGroupName added in v2.85.0

func (m *ShareableBertyGroup_Request) GetGroupName() string

func (*ShareableBertyGroup_Request) GetGroupPK added in v2.85.0

func (m *ShareableBertyGroup_Request) GetGroupPK() []byte

func (*ShareableBertyGroup_Request) ProtoMessage added in v2.85.0

func (*ShareableBertyGroup_Request) ProtoMessage()

func (*ShareableBertyGroup_Request) Reset added in v2.85.0

func (m *ShareableBertyGroup_Request) Reset()

func (*ShareableBertyGroup_Request) String added in v2.85.0

func (m *ShareableBertyGroup_Request) String() string

func (*ShareableBertyGroup_Request) XXX_DiscardUnknown added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_DiscardUnknown()

func (*ShareableBertyGroup_Request) XXX_Marshal added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShareableBertyGroup_Request) XXX_Merge added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Merge(src proto.Message)

func (*ShareableBertyGroup_Request) XXX_Size added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Size() int

func (*ShareableBertyGroup_Request) XXX_Unmarshal added in v2.85.0

func (m *ShareableBertyGroup_Request) XXX_Unmarshal(b []byte) error

type StreamEvent added in v2.120.0

type StreamEvent struct {
	// DRAFT
	Type    StreamEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.v1.StreamEvent_Type" json:"type,omitempty"`
	Payload []byte           `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*StreamEvent) Descriptor added in v2.120.0

func (*StreamEvent) Descriptor() ([]byte, []int)

func (*StreamEvent) GetPayload added in v2.120.0

func (m *StreamEvent) GetPayload() []byte

func (*StreamEvent) GetType added in v2.120.0

func (m *StreamEvent) GetType() StreamEvent_Type

func (*StreamEvent) ProtoMessage added in v2.120.0

func (*StreamEvent) ProtoMessage()

func (*StreamEvent) Reset added in v2.120.0

func (m *StreamEvent) Reset()

func (*StreamEvent) String added in v2.120.0

func (m *StreamEvent) String() string

func (*StreamEvent) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent) XXX_DiscardUnknown()

func (*StreamEvent) XXX_Marshal added in v2.120.0

func (m *StreamEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent) XXX_Merge added in v2.120.0

func (m *StreamEvent) XXX_Merge(src proto.Message)

func (*StreamEvent) XXX_Size added in v2.120.0

func (m *StreamEvent) XXX_Size() int

func (*StreamEvent) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent) XXX_Unmarshal(b []byte) error

type StreamEvent_ContactUpdated added in v2.120.0

type StreamEvent_ContactUpdated struct {
	Contact *Contact `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"`
}

func (*StreamEvent_ContactUpdated) Descriptor added in v2.120.0

func (*StreamEvent_ContactUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_ContactUpdated) GetContact added in v2.120.0

func (m *StreamEvent_ContactUpdated) GetContact() *Contact

func (*StreamEvent_ContactUpdated) ProtoMessage added in v2.120.0

func (*StreamEvent_ContactUpdated) ProtoMessage()

func (*StreamEvent_ContactUpdated) Reset added in v2.120.0

func (m *StreamEvent_ContactUpdated) Reset()

func (*StreamEvent_ContactUpdated) String added in v2.120.0

func (m *StreamEvent_ContactUpdated) String() string

func (*StreamEvent_ContactUpdated) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_DiscardUnknown()

func (*StreamEvent_ContactUpdated) XXX_Marshal added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ContactUpdated) XXX_Merge added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_ContactUpdated) XXX_Size added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Size() int

func (*StreamEvent_ContactUpdated) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_ContactUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_ConversationDeleted added in v2.120.0

type StreamEvent_ConversationDeleted struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*StreamEvent_ConversationDeleted) Descriptor added in v2.120.0

func (*StreamEvent_ConversationDeleted) Descriptor() ([]byte, []int)

func (*StreamEvent_ConversationDeleted) GetPublicKey added in v2.120.0

func (m *StreamEvent_ConversationDeleted) GetPublicKey() string

func (*StreamEvent_ConversationDeleted) ProtoMessage added in v2.120.0

func (*StreamEvent_ConversationDeleted) ProtoMessage()

func (*StreamEvent_ConversationDeleted) Reset added in v2.120.0

func (*StreamEvent_ConversationDeleted) String added in v2.120.0

func (*StreamEvent_ConversationDeleted) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_DiscardUnknown()

func (*StreamEvent_ConversationDeleted) XXX_Marshal added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ConversationDeleted) XXX_Merge added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Merge(src proto.Message)

func (*StreamEvent_ConversationDeleted) XXX_Size added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Size() int

func (*StreamEvent_ConversationDeleted) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_ConversationDeleted) XXX_Unmarshal(b []byte) error

type StreamEvent_ConversationUpdated added in v2.120.0

type StreamEvent_ConversationUpdated struct {
	Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
}

func (*StreamEvent_ConversationUpdated) Descriptor added in v2.120.0

func (*StreamEvent_ConversationUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_ConversationUpdated) GetConversation added in v2.120.0

func (m *StreamEvent_ConversationUpdated) GetConversation() *Conversation

func (*StreamEvent_ConversationUpdated) ProtoMessage added in v2.120.0

func (*StreamEvent_ConversationUpdated) ProtoMessage()

func (*StreamEvent_ConversationUpdated) Reset added in v2.120.0

func (*StreamEvent_ConversationUpdated) String added in v2.120.0

func (*StreamEvent_ConversationUpdated) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_DiscardUnknown()

func (*StreamEvent_ConversationUpdated) XXX_Marshal added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_ConversationUpdated) XXX_Merge added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_ConversationUpdated) XXX_Size added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Size() int

func (*StreamEvent_ConversationUpdated) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_ConversationUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_InteractionUpdated added in v2.120.0

type StreamEvent_InteractionUpdated struct {
}

func (*StreamEvent_InteractionUpdated) Descriptor added in v2.120.0

func (*StreamEvent_InteractionUpdated) Descriptor() ([]byte, []int)

func (*StreamEvent_InteractionUpdated) ProtoMessage added in v2.120.0

func (*StreamEvent_InteractionUpdated) ProtoMessage()

func (*StreamEvent_InteractionUpdated) Reset added in v2.120.0

func (m *StreamEvent_InteractionUpdated) Reset()

func (*StreamEvent_InteractionUpdated) String added in v2.120.0

func (*StreamEvent_InteractionUpdated) XXX_DiscardUnknown added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_DiscardUnknown()

func (*StreamEvent_InteractionUpdated) XXX_Marshal added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamEvent_InteractionUpdated) XXX_Merge added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Merge(src proto.Message)

func (*StreamEvent_InteractionUpdated) XXX_Size added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Size() int

func (*StreamEvent_InteractionUpdated) XXX_Unmarshal added in v2.120.0

func (m *StreamEvent_InteractionUpdated) XXX_Unmarshal(b []byte) error

type StreamEvent_Type added in v2.120.0

type StreamEvent_Type int32
const (
	StreamEvent_TypeConversationUpdated StreamEvent_Type = 0
	StreamEvent_TypeConversationDeleted StreamEvent_Type = 1
	StreamEvent_TypeInteractionUpdated  StreamEvent_Type = 2
	StreamEvent_TypeContactUpdated      StreamEvent_Type = 3
)

func (StreamEvent_Type) EnumDescriptor added in v2.120.0

func (StreamEvent_Type) EnumDescriptor() ([]byte, []int)

func (StreamEvent_Type) String added in v2.120.0

func (x StreamEvent_Type) String() string

type SystemInfo added in v2.82.0

type SystemInfo struct {
}

func (*SystemInfo) Descriptor added in v2.82.0

func (*SystemInfo) Descriptor() ([]byte, []int)

func (*SystemInfo) ProtoMessage added in v2.82.0

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) Reset added in v2.82.0

func (m *SystemInfo) Reset()

func (*SystemInfo) String added in v2.82.0

func (m *SystemInfo) String() string

func (*SystemInfo) XXX_DiscardUnknown added in v2.82.0

func (m *SystemInfo) XXX_DiscardUnknown()

func (*SystemInfo) XXX_Marshal added in v2.82.0

func (m *SystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo) XXX_Merge added in v2.82.0

func (m *SystemInfo) XXX_Merge(src proto.Message)

func (*SystemInfo) XXX_Size added in v2.82.0

func (m *SystemInfo) XXX_Size() int

func (*SystemInfo) XXX_Unmarshal added in v2.82.0

func (m *SystemInfo) XXX_Unmarshal(b []byte) error

type SystemInfo_Reply added in v2.82.0

type SystemInfo_Reply struct {
	RlimitCur        uint64 `protobuf:"varint,1,opt,name=rlimit_cur,json=rlimitCur,proto3" json:"rlimit_cur,omitempty"`
	NumGoroutine     int64  `protobuf:"varint,2,opt,name=num_goroutine,json=numGoroutine,proto3" json:"num_goroutine,omitempty"`
	ConnectedPeers   int64  `protobuf:"varint,3,opt,name=connected_peers,json=connectedPeers,proto3" json:"connected_peers,omitempty"`
	Nofile           int64  `protobuf:"varint,4,opt,name=nofile,proto3" json:"nofile,omitempty"`
	TooManyOpenFiles bool   `protobuf:"varint,5,opt,name=too_many_open_files,json=tooManyOpenFiles,proto3" json:"too_many_open_files,omitempty"`
	StartedAt        int64  `protobuf:"varint,10,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	NumCPU           int64  `protobuf:"varint,11,opt,name=num_cpu,json=numCpu,proto3" json:"num_cpu,omitempty"`
	GoVersion        string `protobuf:"bytes,12,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	OperatingSystem  string `protobuf:"bytes,13,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	HostName         string `protobuf:"bytes,14,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	Arch             string `protobuf:"bytes,15,opt,name=arch,proto3" json:"arch,omitempty"`
	Version          string `protobuf:"bytes,16,opt,name=version,proto3" json:"version,omitempty"`
	VcsRef           string `protobuf:"bytes,17,opt,name=vcs_ref,json=vcsRef,proto3" json:"vcs_ref,omitempty"`
	BuildTime        int64  `protobuf:"varint,18,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	SelfRusage       string `protobuf:"bytes,19,opt,name=self_rusage,json=selfRusage,proto3" json:"self_rusage,omitempty"`
	ChildrenRusage   string `protobuf:"bytes,20,opt,name=children_rusage,json=childrenRusage,proto3" json:"children_rusage,omitempty"`
	RlimitMax        uint64 `protobuf:"varint,21,opt,name=rlimit_max,json=rlimitMax,proto3" json:"rlimit_max,omitempty"`
}

func (*SystemInfo_Reply) Descriptor added in v2.82.0

func (*SystemInfo_Reply) Descriptor() ([]byte, []int)

func (*SystemInfo_Reply) GetArch added in v2.82.0

func (m *SystemInfo_Reply) GetArch() string

func (*SystemInfo_Reply) GetBuildTime added in v2.82.0

func (m *SystemInfo_Reply) GetBuildTime() int64

func (*SystemInfo_Reply) GetChildrenRusage added in v2.104.0

func (m *SystemInfo_Reply) GetChildrenRusage() string

func (*SystemInfo_Reply) GetConnectedPeers added in v2.105.0

func (m *SystemInfo_Reply) GetConnectedPeers() int64

func (*SystemInfo_Reply) GetGoVersion added in v2.82.0

func (m *SystemInfo_Reply) GetGoVersion() string

func (*SystemInfo_Reply) GetHostName added in v2.82.0

func (m *SystemInfo_Reply) GetHostName() string

func (*SystemInfo_Reply) GetNofile added in v2.106.0

func (m *SystemInfo_Reply) GetNofile() int64

func (*SystemInfo_Reply) GetNumCPU added in v2.82.0

func (m *SystemInfo_Reply) GetNumCPU() int64

func (*SystemInfo_Reply) GetNumGoroutine added in v2.82.0

func (m *SystemInfo_Reply) GetNumGoroutine() int64

func (*SystemInfo_Reply) GetOperatingSystem added in v2.82.0

func (m *SystemInfo_Reply) GetOperatingSystem() string

func (*SystemInfo_Reply) GetRlimitCur added in v2.105.0

func (m *SystemInfo_Reply) GetRlimitCur() uint64

func (*SystemInfo_Reply) GetRlimitMax added in v2.105.0

func (m *SystemInfo_Reply) GetRlimitMax() uint64

func (*SystemInfo_Reply) GetSelfRusage added in v2.104.0

func (m *SystemInfo_Reply) GetSelfRusage() string

func (*SystemInfo_Reply) GetStartedAt added in v2.82.0

func (m *SystemInfo_Reply) GetStartedAt() int64

func (*SystemInfo_Reply) GetTooManyOpenFiles added in v2.106.1

func (m *SystemInfo_Reply) GetTooManyOpenFiles() bool

func (*SystemInfo_Reply) GetVcsRef added in v2.82.0

func (m *SystemInfo_Reply) GetVcsRef() string

func (*SystemInfo_Reply) GetVersion added in v2.82.0

func (m *SystemInfo_Reply) GetVersion() string

func (*SystemInfo_Reply) ProtoMessage added in v2.82.0

func (*SystemInfo_Reply) ProtoMessage()

func (*SystemInfo_Reply) Reset added in v2.82.0

func (m *SystemInfo_Reply) Reset()

func (*SystemInfo_Reply) String added in v2.82.0

func (m *SystemInfo_Reply) String() string

func (*SystemInfo_Reply) XXX_DiscardUnknown added in v2.82.0

func (m *SystemInfo_Reply) XXX_DiscardUnknown()

func (*SystemInfo_Reply) XXX_Marshal added in v2.82.0

func (m *SystemInfo_Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Reply) XXX_Merge added in v2.82.0

func (m *SystemInfo_Reply) XXX_Merge(src proto.Message)

func (*SystemInfo_Reply) XXX_Size added in v2.82.0

func (m *SystemInfo_Reply) XXX_Size() int

func (*SystemInfo_Reply) XXX_Unmarshal added in v2.82.0

func (m *SystemInfo_Reply) XXX_Unmarshal(b []byte) error

type SystemInfo_Request added in v2.82.0

type SystemInfo_Request struct {
}

func (*SystemInfo_Request) Descriptor added in v2.82.0

func (*SystemInfo_Request) Descriptor() ([]byte, []int)

func (*SystemInfo_Request) ProtoMessage added in v2.82.0

func (*SystemInfo_Request) ProtoMessage()

func (*SystemInfo_Request) Reset added in v2.82.0

func (m *SystemInfo_Request) Reset()

func (*SystemInfo_Request) String added in v2.82.0

func (m *SystemInfo_Request) String() string

func (*SystemInfo_Request) XXX_DiscardUnknown added in v2.82.0

func (m *SystemInfo_Request) XXX_DiscardUnknown()

func (*SystemInfo_Request) XXX_Marshal added in v2.82.0

func (m *SystemInfo_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfo_Request) XXX_Merge added in v2.82.0

func (m *SystemInfo_Request) XXX_Merge(src proto.Message)

func (*SystemInfo_Request) XXX_Size added in v2.82.0

func (m *SystemInfo_Request) XXX_Size() int

func (*SystemInfo_Request) XXX_Unmarshal added in v2.82.0

func (m *SystemInfo_Request) XXX_Unmarshal(b []byte) error

type TestingServiceOpts

type TestingServiceOpts struct {
	Logger *zap.Logger
	Client bertyprotocol.Client
}

type UnimplementedMessengerServiceServer

type UnimplementedMessengerServiceServer struct {
}

UnimplementedMessengerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMessengerServiceServer) AccountGet added in v2.120.0

func (*UnimplementedMessengerServiceServer) ConversationCreate added in v2.120.0

func (*UnimplementedMessengerServiceServer) ConversationStream added in v2.120.0

func (*UnimplementedMessengerServiceServer) DevShareInstanceBertyID

func (*UnimplementedMessengerServiceServer) EventStream added in v2.120.0

func (*UnimplementedMessengerServiceServer) InstanceShareableBertyID

func (*UnimplementedMessengerServiceServer) SendAck added in v2.85.0

func (*UnimplementedMessengerServiceServer) SendContactRequest added in v2.66.0

func (*UnimplementedMessengerServiceServer) SendMessage added in v2.85.0

func (*UnimplementedMessengerServiceServer) ShareableBertyGroup added in v2.85.0

func (*UnimplementedMessengerServiceServer) SystemInfo added in v2.82.0

type UserMessageAttachment added in v2.76.0

type UserMessageAttachment struct {
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
}

func (*UserMessageAttachment) Descriptor added in v2.76.0

func (*UserMessageAttachment) Descriptor() ([]byte, []int)

func (*UserMessageAttachment) GetUri added in v2.76.0

func (m *UserMessageAttachment) GetUri() string

func (*UserMessageAttachment) ProtoMessage added in v2.76.0

func (*UserMessageAttachment) ProtoMessage()

func (*UserMessageAttachment) Reset added in v2.76.0

func (m *UserMessageAttachment) Reset()

func (*UserMessageAttachment) String added in v2.76.0

func (m *UserMessageAttachment) String() string

func (*UserMessageAttachment) XXX_DiscardUnknown added in v2.76.0

func (m *UserMessageAttachment) XXX_DiscardUnknown()

func (*UserMessageAttachment) XXX_Marshal added in v2.76.0

func (m *UserMessageAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserMessageAttachment) XXX_Merge added in v2.76.0

func (m *UserMessageAttachment) XXX_Merge(src proto.Message)

func (*UserMessageAttachment) XXX_Size added in v2.76.0

func (m *UserMessageAttachment) XXX_Size() int

func (*UserMessageAttachment) XXX_Unmarshal added in v2.76.0

func (m *UserMessageAttachment) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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