bertymessenger

package
v2.104.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0, MIT Imports: 31 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 AppMessageType_name = map[int32]string{
	0: "Undefined",
	1: "UserMessage",
	2: "UserReaction",
	3: "GroupInvitation",
	4: "SetGroupName",
	5: "Acknowledge",
}
View Source
var AppMessageType_value = map[string]int32{
	"Undefined":       0,
	"UserMessage":     1,
	"UserReaction":    2,
	"GroupInvitation": 3,
	"SetGroupName":    4,
	"Acknowledge":     5,
}
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,
}

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. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterMessengerServiceHandlerFromEndpoint instead.

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 AppMessageType added in v2.76.0

type AppMessageType int32
const (
	AppMessageType_Undefined       AppMessageType = 0
	AppMessageType_UserMessage     AppMessageType = 1
	AppMessageType_UserReaction    AppMessageType = 2
	AppMessageType_GroupInvitation AppMessageType = 3
	AppMessageType_SetGroupName    AppMessageType = 4
	AppMessageType_Acknowledge     AppMessageType = 5
)

func (AppMessageType) EnumDescriptor added in v2.76.0

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

func (*AppMessageType) MarshalJSON added in v2.76.0

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

func (AppMessageType) String added in v2.76.0

func (x AppMessageType) String() string

func (*AppMessageType) UnmarshalJSON added in v2.76.0

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

type AppMessageTyped added in v2.76.0

type AppMessageTyped struct {
	Type                 AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*AppMessageTyped) Descriptor added in v2.76.0

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

func (*AppMessageTyped) GetType added in v2.76.0

func (m *AppMessageTyped) GetType() AppMessageType

func (*AppMessageTyped) ProtoMessage added in v2.76.0

func (*AppMessageTyped) ProtoMessage()

func (*AppMessageTyped) Reset added in v2.76.0

func (m *AppMessageTyped) Reset()

func (*AppMessageTyped) String added in v2.76.0

func (m *AppMessageTyped) String() string

func (*AppMessageTyped) XXX_DiscardUnknown added in v2.76.0

func (m *AppMessageTyped) XXX_DiscardUnknown()

func (*AppMessageTyped) XXX_Marshal added in v2.76.0

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

func (*AppMessageTyped) XXX_Merge added in v2.76.0

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

func (*AppMessageTyped) XXX_Size added in v2.76.0

func (m *AppMessageTyped) XXX_Size() int

func (*AppMessageTyped) XXX_Unmarshal added in v2.76.0

func (m *AppMessageTyped) 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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 DevShareInstanceBertyID

type DevShareInstanceBertyID struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 InstanceShareableBertyID

type InstanceShareableBertyID struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 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)
}

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)
}

MessengerServiceServer is the server API for MessengerService service.

func TestingService

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

type Opts

type Opts struct {
	Logger *zap.Logger
}
type ParseDeepLink struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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.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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
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 PayloadAcknowledge added in v2.76.0

type PayloadAcknowledge struct {
	Type                 AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"`
	Target               string         `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PayloadAcknowledge) Descriptor added in v2.76.0

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

func (*PayloadAcknowledge) GetTarget added in v2.76.0

func (m *PayloadAcknowledge) GetTarget() string

func (*PayloadAcknowledge) GetType added in v2.76.0

func (m *PayloadAcknowledge) GetType() AppMessageType

func (*PayloadAcknowledge) ProtoMessage added in v2.76.0

func (*PayloadAcknowledge) ProtoMessage()

func (*PayloadAcknowledge) Reset added in v2.76.0

func (m *PayloadAcknowledge) Reset()

func (*PayloadAcknowledge) String added in v2.76.0

func (m *PayloadAcknowledge) String() string

func (*PayloadAcknowledge) XXX_DiscardUnknown added in v2.76.0

func (m *PayloadAcknowledge) XXX_DiscardUnknown()

func (*PayloadAcknowledge) XXX_Marshal added in v2.76.0

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

func (*PayloadAcknowledge) XXX_Merge added in v2.76.0

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

func (*PayloadAcknowledge) XXX_Size added in v2.76.0

func (m *PayloadAcknowledge) XXX_Size() int

func (*PayloadAcknowledge) XXX_Unmarshal added in v2.76.0

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

type PayloadGroupInvitation added in v2.76.0

type PayloadGroupInvitation struct {
	Type                 AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"`
	GroupPk              string         `protobuf:"bytes,2,opt,name=group_pk,json=groupPk,proto3" json:"groupPk"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PayloadGroupInvitation) Descriptor added in v2.76.0

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

func (*PayloadGroupInvitation) GetGroupPk added in v2.76.0

func (m *PayloadGroupInvitation) GetGroupPk() string

func (*PayloadGroupInvitation) GetType added in v2.76.0

func (*PayloadGroupInvitation) ProtoMessage added in v2.76.0

func (*PayloadGroupInvitation) ProtoMessage()

func (*PayloadGroupInvitation) Reset added in v2.76.0

func (m *PayloadGroupInvitation) Reset()

func (*PayloadGroupInvitation) String added in v2.76.0

func (m *PayloadGroupInvitation) String() string

func (*PayloadGroupInvitation) XXX_DiscardUnknown added in v2.76.0

func (m *PayloadGroupInvitation) XXX_DiscardUnknown()

func (*PayloadGroupInvitation) XXX_Marshal added in v2.76.0

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

func (*PayloadGroupInvitation) XXX_Merge added in v2.76.0

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

func (*PayloadGroupInvitation) XXX_Size added in v2.76.0

func (m *PayloadGroupInvitation) XXX_Size() int

func (*PayloadGroupInvitation) XXX_Unmarshal added in v2.76.0

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

type PayloadSetGroupName added in v2.76.0

type PayloadSetGroupName struct {
	Type                 AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"`
	Name                 string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PayloadSetGroupName) Descriptor added in v2.76.0

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

func (*PayloadSetGroupName) GetName added in v2.76.0

func (m *PayloadSetGroupName) GetName() string

func (*PayloadSetGroupName) GetType added in v2.76.0

func (m *PayloadSetGroupName) GetType() AppMessageType

func (*PayloadSetGroupName) ProtoMessage added in v2.76.0

func (*PayloadSetGroupName) ProtoMessage()

func (*PayloadSetGroupName) Reset added in v2.76.0

func (m *PayloadSetGroupName) Reset()

func (*PayloadSetGroupName) String added in v2.76.0

func (m *PayloadSetGroupName) String() string

func (*PayloadSetGroupName) XXX_DiscardUnknown added in v2.76.0

func (m *PayloadSetGroupName) XXX_DiscardUnknown()

func (*PayloadSetGroupName) XXX_Marshal added in v2.76.0

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

func (*PayloadSetGroupName) XXX_Merge added in v2.76.0

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

func (*PayloadSetGroupName) XXX_Size added in v2.76.0

func (m *PayloadSetGroupName) XXX_Size() int

func (*PayloadSetGroupName) XXX_Unmarshal added in v2.76.0

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

type PayloadUserMessage added in v2.76.0

type PayloadUserMessage struct {
	Type                 AppMessageType           `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"`
	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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*PayloadUserMessage) Descriptor added in v2.76.0

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

func (*PayloadUserMessage) GetAttachments added in v2.76.0

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

func (*PayloadUserMessage) GetBody added in v2.76.0

func (m *PayloadUserMessage) GetBody() string

func (*PayloadUserMessage) GetSentDate added in v2.76.0

func (m *PayloadUserMessage) GetSentDate() int64

func (*PayloadUserMessage) GetType added in v2.76.0

func (m *PayloadUserMessage) GetType() AppMessageType

func (*PayloadUserMessage) ProtoMessage added in v2.76.0

func (*PayloadUserMessage) ProtoMessage()

func (*PayloadUserMessage) Reset added in v2.76.0

func (m *PayloadUserMessage) Reset()

func (*PayloadUserMessage) String added in v2.76.0

func (m *PayloadUserMessage) String() string

func (*PayloadUserMessage) XXX_DiscardUnknown added in v2.76.0

func (m *PayloadUserMessage) XXX_DiscardUnknown()

func (*PayloadUserMessage) XXX_Marshal added in v2.76.0

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

func (*PayloadUserMessage) XXX_Merge added in v2.76.0

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

func (*PayloadUserMessage) XXX_Size added in v2.76.0

func (m *PayloadUserMessage) XXX_Size() int

func (*PayloadUserMessage) XXX_Unmarshal added in v2.76.0

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

type PayloadUserReaction added in v2.76.0

type PayloadUserReaction struct {
	Type                 AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"`
	Emoji                string         `protobuf:"bytes,2,opt,name=emoji,proto3" json:"emoji,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PayloadUserReaction) Descriptor added in v2.76.0

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

func (*PayloadUserReaction) GetEmoji added in v2.76.0

func (m *PayloadUserReaction) GetEmoji() string

func (*PayloadUserReaction) GetType added in v2.76.0

func (m *PayloadUserReaction) GetType() AppMessageType

func (*PayloadUserReaction) ProtoMessage added in v2.76.0

func (*PayloadUserReaction) ProtoMessage()

func (*PayloadUserReaction) Reset added in v2.76.0

func (m *PayloadUserReaction) Reset()

func (*PayloadUserReaction) String added in v2.76.0

func (m *PayloadUserReaction) String() string

func (*PayloadUserReaction) XXX_DiscardUnknown added in v2.76.0

func (m *PayloadUserReaction) XXX_DiscardUnknown()

func (*PayloadUserReaction) XXX_Marshal added in v2.76.0

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

func (*PayloadUserReaction) XXX_Merge added in v2.76.0

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

func (*PayloadUserReaction) XXX_Size added in v2.76.0

func (m *PayloadUserReaction) XXX_Size() int

func (*PayloadUserReaction) XXX_Unmarshal added in v2.76.0

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

type SendAck added in v2.85.0

type SendAck struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 ShareableBertyGroup added in v2.85.0

type ShareableBertyGroup struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 SystemInfo added in v2.82.0

type SystemInfo struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 {
	StartedAt            int64    `protobuf:"varint,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	NumCPU               int64    `protobuf:"varint,2,opt,name=num_cpu,json=numCpu,proto3" json:"num_cpu,omitempty"`
	GoVersion            string   `protobuf:"bytes,3,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	NumGoroutine         int64    `protobuf:"varint,4,opt,name=num_goroutine,json=numGoroutine,proto3" json:"num_goroutine,omitempty"`
	OperatingSystem      string   `protobuf:"bytes,5,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	HostName             string   `protobuf:"bytes,6,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	Arch                 string   `protobuf:"bytes,7,opt,name=arch,proto3" json:"arch,omitempty"`
	Version              string   `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	VcsRef               string   `protobuf:"bytes,9,opt,name=vcs_ref,json=vcsRef,proto3" json:"vcs_ref,omitempty"`
	BuildTime            int64    `protobuf:"varint,10,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	Rlimit               string   `protobuf:"bytes,11,opt,name=rlimit,proto3" json:"rlimit,omitempty"`
	SelfRusage           string   `protobuf:"bytes,12,opt,name=self_rusage,json=selfRusage,proto3" json:"self_rusage,omitempty"`
	ChildrenRusage       string   `protobuf:"bytes,13,opt,name=children_rusage,json=childrenRusage,proto3" json:"children_rusage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) 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) 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) GetRlimit added in v2.104.0

func (m *SystemInfo_Reply) GetRlimit() string

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) 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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) DevShareInstanceBertyID

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 {
	Type                 AppMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=berty.messenger.AppMessageType" json:"type,omitempty"`
	Uri                  string         `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*UserMessageAttachment) Descriptor added in v2.76.0

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

func (*UserMessageAttachment) GetType added in v2.76.0

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