pb

package
v1.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

https://gist.github.com/jsmouret/2bc876e8def6c63410556350eca3e43d

Index

Constants

This section is empty.

Variables

View Source
var Message_Type_name = map[int32]string{
	0:   "PING",
	1:   "PONG",
	10:  "THREAD_ENVELOPE",
	50:  "CAFE_CHALLENGE",
	51:  "CAFE_NONCE",
	52:  "CAFE_REGISTRATION",
	53:  "CAFE_SESSION",
	54:  "CAFE_REFRESH_SESSION",
	55:  "CAFE_STORE",
	56:  "CAFE_BLOCK",
	57:  "CAFE_BLOCKLIST",
	58:  "CAFE_STORE_THREAD",
	59:  "CAFE_STORED",
	60:  "CAFE_DELIVER_MESSAGE",
	61:  "CAFE_CHECK_MESSAGES",
	62:  "CAFE_MESSAGES",
	63:  "CAFE_DELETE_MESSAGES",
	64:  "CAFE_DELETE_MESSAGES_ACK",
	500: "ERROR",
}
View Source
var Message_Type_value = map[string]int32{
	"PING":                     0,
	"PONG":                     1,
	"THREAD_ENVELOPE":          10,
	"CAFE_CHALLENGE":           50,
	"CAFE_NONCE":               51,
	"CAFE_REGISTRATION":        52,
	"CAFE_SESSION":             53,
	"CAFE_REFRESH_SESSION":     54,
	"CAFE_STORE":               55,
	"CAFE_BLOCK":               56,
	"CAFE_BLOCKLIST":           57,
	"CAFE_STORE_THREAD":        58,
	"CAFE_STORED":              59,
	"CAFE_DELIVER_MESSAGE":     60,
	"CAFE_CHECK_MESSAGES":      61,
	"CAFE_MESSAGES":            62,
	"CAFE_DELETE_MESSAGES":     63,
	"CAFE_DELETE_MESSAGES_ACK": 64,
	"ERROR":                    500,
}
View Source
var ThreadBlock_Type_name = map[int32]string{
	0:  "MERGE",
	1:  "IGNORE",
	2:  "FLAG",
	3:  "JOIN",
	4:  "ANNOUNCE",
	5:  "LEAVE",
	6:  "MESSAGE",
	7:  "FILES",
	8:  "COMMENT",
	9:  "LIKE",
	50: "INVITE",
}
View Source
var ThreadBlock_Type_value = map[string]int32{
	"MERGE":    0,
	"IGNORE":   1,
	"FLAG":     2,
	"JOIN":     3,
	"ANNOUNCE": 4,
	"LEAVE":    5,
	"MESSAGE":  6,
	"FILES":    7,
	"COMMENT":  8,
	"LIKE":     9,
	"INVITE":   50,
}

Functions

func ToInterface

func ToInterface(v *st.Value) interface{}

func ToMap

func ToMap(s *st.Struct) map[string]interface{}

ToMap converts a pb.Struct to a map from strings to Go types. ToMap panics if s is invalid.

func ToStruct

func ToStruct(v map[string]interface{}) *st.Struct

ToStruct converts a map[string]interface{} to a ptypes.Struct

func ToValue

func ToValue(v interface{}) *st.Value

ToValue converts an interface{} to a ptypes.Value

Types

type CafeBlock

type CafeBlock struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	RawData              []byte   `protobuf:"bytes,2,opt,name=rawData,proto3" json:"rawData,omitempty"`
	Cid                  string   `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeBlock) Descriptor

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

func (*CafeBlock) GetCid

func (m *CafeBlock) GetCid() string

func (*CafeBlock) GetRawData

func (m *CafeBlock) GetRawData() []byte

func (*CafeBlock) GetToken

func (m *CafeBlock) GetToken() string

func (*CafeBlock) ProtoMessage

func (*CafeBlock) ProtoMessage()

func (*CafeBlock) Reset

func (m *CafeBlock) Reset()

func (*CafeBlock) String

func (m *CafeBlock) String() string

func (*CafeBlock) XXX_DiscardUnknown

func (m *CafeBlock) XXX_DiscardUnknown()

func (*CafeBlock) XXX_Marshal

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

func (*CafeBlock) XXX_Merge

func (dst *CafeBlock) XXX_Merge(src proto.Message)

func (*CafeBlock) XXX_Size

func (m *CafeBlock) XXX_Size() int

func (*CafeBlock) XXX_Unmarshal

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

type CafeBlockList

type CafeBlockList struct {
	Cids                 []string `protobuf:"bytes,1,rep,name=cids,proto3" json:"cids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeBlockList) Descriptor

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

func (*CafeBlockList) GetCids

func (m *CafeBlockList) GetCids() []string

func (*CafeBlockList) ProtoMessage

func (*CafeBlockList) ProtoMessage()

func (*CafeBlockList) Reset

func (m *CafeBlockList) Reset()

func (*CafeBlockList) String

func (m *CafeBlockList) String() string

func (*CafeBlockList) XXX_DiscardUnknown

func (m *CafeBlockList) XXX_DiscardUnknown()

func (*CafeBlockList) XXX_Marshal

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

func (*CafeBlockList) XXX_Merge

func (dst *CafeBlockList) XXX_Merge(src proto.Message)

func (*CafeBlockList) XXX_Size

func (m *CafeBlockList) XXX_Size() int

func (*CafeBlockList) XXX_Unmarshal

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

type CafeChallenge

type CafeChallenge struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeChallenge) Descriptor

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

func (*CafeChallenge) GetAddress

func (m *CafeChallenge) GetAddress() string

func (*CafeChallenge) ProtoMessage

func (*CafeChallenge) ProtoMessage()

func (*CafeChallenge) Reset

func (m *CafeChallenge) Reset()

func (*CafeChallenge) String

func (m *CafeChallenge) String() string

func (*CafeChallenge) XXX_DiscardUnknown

func (m *CafeChallenge) XXX_DiscardUnknown()

func (*CafeChallenge) XXX_Marshal

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

func (*CafeChallenge) XXX_Merge

func (dst *CafeChallenge) XXX_Merge(src proto.Message)

func (*CafeChallenge) XXX_Size

func (m *CafeChallenge) XXX_Size() int

func (*CafeChallenge) XXX_Unmarshal

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

type CafeCheckMessages

type CafeCheckMessages struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeCheckMessages) Descriptor

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

func (*CafeCheckMessages) GetToken

func (m *CafeCheckMessages) GetToken() string

func (*CafeCheckMessages) ProtoMessage

func (*CafeCheckMessages) ProtoMessage()

func (*CafeCheckMessages) Reset

func (m *CafeCheckMessages) Reset()

func (*CafeCheckMessages) String

func (m *CafeCheckMessages) String() string

func (*CafeCheckMessages) XXX_DiscardUnknown

func (m *CafeCheckMessages) XXX_DiscardUnknown()

func (*CafeCheckMessages) XXX_Marshal

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

func (*CafeCheckMessages) XXX_Merge

func (dst *CafeCheckMessages) XXX_Merge(src proto.Message)

func (*CafeCheckMessages) XXX_Size

func (m *CafeCheckMessages) XXX_Size() int

func (*CafeCheckMessages) XXX_Unmarshal

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

type CafeDeleteMessages

type CafeDeleteMessages struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeDeleteMessages) Descriptor

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

func (*CafeDeleteMessages) GetToken

func (m *CafeDeleteMessages) GetToken() string

func (*CafeDeleteMessages) ProtoMessage

func (*CafeDeleteMessages) ProtoMessage()

func (*CafeDeleteMessages) Reset

func (m *CafeDeleteMessages) Reset()

func (*CafeDeleteMessages) String

func (m *CafeDeleteMessages) String() string

func (*CafeDeleteMessages) XXX_DiscardUnknown

func (m *CafeDeleteMessages) XXX_DiscardUnknown()

func (*CafeDeleteMessages) XXX_Marshal

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

func (*CafeDeleteMessages) XXX_Merge

func (dst *CafeDeleteMessages) XXX_Merge(src proto.Message)

func (*CafeDeleteMessages) XXX_Size

func (m *CafeDeleteMessages) XXX_Size() int

func (*CafeDeleteMessages) XXX_Unmarshal

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

type CafeDeleteMessagesAck

type CafeDeleteMessagesAck struct {
	More                 bool     `protobuf:"varint,1,opt,name=more,proto3" json:"more,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeDeleteMessagesAck) Descriptor

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

func (*CafeDeleteMessagesAck) GetMore

func (m *CafeDeleteMessagesAck) GetMore() bool

func (*CafeDeleteMessagesAck) ProtoMessage

func (*CafeDeleteMessagesAck) ProtoMessage()

func (*CafeDeleteMessagesAck) Reset

func (m *CafeDeleteMessagesAck) Reset()

func (*CafeDeleteMessagesAck) String

func (m *CafeDeleteMessagesAck) String() string

func (*CafeDeleteMessagesAck) XXX_DiscardUnknown

func (m *CafeDeleteMessagesAck) XXX_DiscardUnknown()

func (*CafeDeleteMessagesAck) XXX_Marshal

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

func (*CafeDeleteMessagesAck) XXX_Merge

func (dst *CafeDeleteMessagesAck) XXX_Merge(src proto.Message)

func (*CafeDeleteMessagesAck) XXX_Size

func (m *CafeDeleteMessagesAck) XXX_Size() int

func (*CafeDeleteMessagesAck) XXX_Unmarshal

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

type CafeDeliverMessage

type CafeDeliverMessage struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClientId             string   `protobuf:"bytes,2,opt,name=clientId,proto3" json:"clientId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeDeliverMessage) Descriptor

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

func (*CafeDeliverMessage) GetClientId

func (m *CafeDeliverMessage) GetClientId() string

func (*CafeDeliverMessage) GetId

func (m *CafeDeliverMessage) GetId() string

func (*CafeDeliverMessage) ProtoMessage

func (*CafeDeliverMessage) ProtoMessage()

func (*CafeDeliverMessage) Reset

func (m *CafeDeliverMessage) Reset()

func (*CafeDeliverMessage) String

func (m *CafeDeliverMessage) String() string

func (*CafeDeliverMessage) XXX_DiscardUnknown

func (m *CafeDeliverMessage) XXX_DiscardUnknown()

func (*CafeDeliverMessage) XXX_Marshal

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

func (*CafeDeliverMessage) XXX_Merge

func (dst *CafeDeliverMessage) XXX_Merge(src proto.Message)

func (*CafeDeliverMessage) XXX_Size

func (m *CafeDeliverMessage) XXX_Size() int

func (*CafeDeliverMessage) XXX_Unmarshal

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

type CafeMessage

type CafeMessage struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PeerId               string               `protobuf:"bytes,2,opt,name=peerId,proto3" json:"peerId,omitempty"`
	Date                 *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*CafeMessage) Descriptor

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

func (*CafeMessage) GetDate

func (m *CafeMessage) GetDate() *timestamp.Timestamp

func (*CafeMessage) GetId

func (m *CafeMessage) GetId() string

func (*CafeMessage) GetPeerId

func (m *CafeMessage) GetPeerId() string

func (*CafeMessage) ProtoMessage

func (*CafeMessage) ProtoMessage()

func (*CafeMessage) Reset

func (m *CafeMessage) Reset()

func (*CafeMessage) String

func (m *CafeMessage) String() string

func (*CafeMessage) XXX_DiscardUnknown

func (m *CafeMessage) XXX_DiscardUnknown()

func (*CafeMessage) XXX_Marshal

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

func (*CafeMessage) XXX_Merge

func (dst *CafeMessage) XXX_Merge(src proto.Message)

func (*CafeMessage) XXX_Size

func (m *CafeMessage) XXX_Size() int

func (*CafeMessage) XXX_Unmarshal

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

type CafeMessages

type CafeMessages struct {
	Messages             []*CafeMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CafeMessages) Descriptor

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

func (*CafeMessages) GetMessages

func (m *CafeMessages) GetMessages() []*CafeMessage

func (*CafeMessages) ProtoMessage

func (*CafeMessages) ProtoMessage()

func (*CafeMessages) Reset

func (m *CafeMessages) Reset()

func (*CafeMessages) String

func (m *CafeMessages) String() string

func (*CafeMessages) XXX_DiscardUnknown

func (m *CafeMessages) XXX_DiscardUnknown()

func (*CafeMessages) XXX_Marshal

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

func (*CafeMessages) XXX_Merge

func (dst *CafeMessages) XXX_Merge(src proto.Message)

func (*CafeMessages) XXX_Size

func (m *CafeMessages) XXX_Size() int

func (*CafeMessages) XXX_Unmarshal

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

type CafeNonce

type CafeNonce struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeNonce) Descriptor

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

func (*CafeNonce) GetValue

func (m *CafeNonce) GetValue() string

func (*CafeNonce) ProtoMessage

func (*CafeNonce) ProtoMessage()

func (*CafeNonce) Reset

func (m *CafeNonce) Reset()

func (*CafeNonce) String

func (m *CafeNonce) String() string

func (*CafeNonce) XXX_DiscardUnknown

func (m *CafeNonce) XXX_DiscardUnknown()

func (*CafeNonce) XXX_Marshal

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

func (*CafeNonce) XXX_Merge

func (dst *CafeNonce) XXX_Merge(src proto.Message)

func (*CafeNonce) XXX_Size

func (m *CafeNonce) XXX_Size() int

func (*CafeNonce) XXX_Unmarshal

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

type CafeRefreshSession

type CafeRefreshSession struct {
	Access               string   `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
	Refresh              string   `protobuf:"bytes,2,opt,name=refresh,proto3" json:"refresh,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeRefreshSession) Descriptor

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

func (*CafeRefreshSession) GetAccess

func (m *CafeRefreshSession) GetAccess() string

func (*CafeRefreshSession) GetRefresh

func (m *CafeRefreshSession) GetRefresh() string

func (*CafeRefreshSession) ProtoMessage

func (*CafeRefreshSession) ProtoMessage()

func (*CafeRefreshSession) Reset

func (m *CafeRefreshSession) Reset()

func (*CafeRefreshSession) String

func (m *CafeRefreshSession) String() string

func (*CafeRefreshSession) XXX_DiscardUnknown

func (m *CafeRefreshSession) XXX_DiscardUnknown()

func (*CafeRefreshSession) XXX_Marshal

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

func (*CafeRefreshSession) XXX_Merge

func (dst *CafeRefreshSession) XXX_Merge(src proto.Message)

func (*CafeRefreshSession) XXX_Size

func (m *CafeRefreshSession) XXX_Size() int

func (*CafeRefreshSession) XXX_Unmarshal

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

type CafeRegistration

type CafeRegistration struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Nonce                string   `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Sig                  []byte   `protobuf:"bytes,4,opt,name=sig,proto3" json:"sig,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeRegistration) Descriptor

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

func (*CafeRegistration) GetAddress

func (m *CafeRegistration) GetAddress() string

func (*CafeRegistration) GetNonce

func (m *CafeRegistration) GetNonce() string

func (*CafeRegistration) GetSig

func (m *CafeRegistration) GetSig() []byte

func (*CafeRegistration) GetValue

func (m *CafeRegistration) GetValue() string

func (*CafeRegistration) ProtoMessage

func (*CafeRegistration) ProtoMessage()

func (*CafeRegistration) Reset

func (m *CafeRegistration) Reset()

func (*CafeRegistration) String

func (m *CafeRegistration) String() string

func (*CafeRegistration) XXX_DiscardUnknown

func (m *CafeRegistration) XXX_DiscardUnknown()

func (*CafeRegistration) XXX_Marshal

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

func (*CafeRegistration) XXX_Merge

func (dst *CafeRegistration) XXX_Merge(src proto.Message)

func (*CafeRegistration) XXX_Size

func (m *CafeRegistration) XXX_Size() int

func (*CafeRegistration) XXX_Unmarshal

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

type CafeSession

type CafeSession struct {
	Access               string               `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
	Exp                  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=exp,proto3" json:"exp,omitempty"`
	Refresh              string               `protobuf:"bytes,3,opt,name=refresh,proto3" json:"refresh,omitempty"`
	Rexp                 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=rexp,proto3" json:"rexp,omitempty"`
	Subject              string               `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"`
	Type                 string               `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	HttpAddr             string               `protobuf:"bytes,7,opt,name=httpAddr,proto3" json:"httpAddr,omitempty"`
	SwarmAddrs           []string             `protobuf:"bytes,8,rep,name=swarmAddrs,proto3" json:"swarmAddrs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*CafeSession) Descriptor

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

func (*CafeSession) GetAccess

func (m *CafeSession) GetAccess() string

func (*CafeSession) GetExp

func (m *CafeSession) GetExp() *timestamp.Timestamp

func (*CafeSession) GetHttpAddr

func (m *CafeSession) GetHttpAddr() string

func (*CafeSession) GetRefresh

func (m *CafeSession) GetRefresh() string

func (*CafeSession) GetRexp

func (m *CafeSession) GetRexp() *timestamp.Timestamp

func (*CafeSession) GetSubject

func (m *CafeSession) GetSubject() string

func (*CafeSession) GetSwarmAddrs

func (m *CafeSession) GetSwarmAddrs() []string

func (*CafeSession) GetType

func (m *CafeSession) GetType() string

func (*CafeSession) ProtoMessage

func (*CafeSession) ProtoMessage()

func (*CafeSession) Reset

func (m *CafeSession) Reset()

func (*CafeSession) String

func (m *CafeSession) String() string

func (*CafeSession) XXX_DiscardUnknown

func (m *CafeSession) XXX_DiscardUnknown()

func (*CafeSession) XXX_Marshal

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

func (*CafeSession) XXX_Merge

func (dst *CafeSession) XXX_Merge(src proto.Message)

func (*CafeSession) XXX_Size

func (m *CafeSession) XXX_Size() int

func (*CafeSession) XXX_Unmarshal

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

type CafeStore

type CafeStore struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Cids                 []string `protobuf:"bytes,2,rep,name=cids,proto3" json:"cids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeStore) Descriptor

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

func (*CafeStore) GetCids

func (m *CafeStore) GetCids() []string

func (*CafeStore) GetToken

func (m *CafeStore) GetToken() string

func (*CafeStore) ProtoMessage

func (*CafeStore) ProtoMessage()

func (*CafeStore) Reset

func (m *CafeStore) Reset()

func (*CafeStore) String

func (m *CafeStore) String() string

func (*CafeStore) XXX_DiscardUnknown

func (m *CafeStore) XXX_DiscardUnknown()

func (*CafeStore) XXX_Marshal

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

func (*CafeStore) XXX_Merge

func (dst *CafeStore) XXX_Merge(src proto.Message)

func (*CafeStore) XXX_Size

func (m *CafeStore) XXX_Size() int

func (*CafeStore) XXX_Unmarshal

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

type CafeStoreThread

type CafeStoreThread struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Ciphertext           []byte   `protobuf:"bytes,3,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeStoreThread) Descriptor

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

func (*CafeStoreThread) GetCiphertext

func (m *CafeStoreThread) GetCiphertext() []byte

func (*CafeStoreThread) GetId

func (m *CafeStoreThread) GetId() string

func (*CafeStoreThread) GetToken

func (m *CafeStoreThread) GetToken() string

func (*CafeStoreThread) ProtoMessage

func (*CafeStoreThread) ProtoMessage()

func (*CafeStoreThread) Reset

func (m *CafeStoreThread) Reset()

func (*CafeStoreThread) String

func (m *CafeStoreThread) String() string

func (*CafeStoreThread) XXX_DiscardUnknown

func (m *CafeStoreThread) XXX_DiscardUnknown()

func (*CafeStoreThread) XXX_Marshal

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

func (*CafeStoreThread) XXX_Merge

func (dst *CafeStoreThread) XXX_Merge(src proto.Message)

func (*CafeStoreThread) XXX_Size

func (m *CafeStoreThread) XXX_Size() int

func (*CafeStoreThread) XXX_Unmarshal

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

type CafeStored

type CafeStored struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeStored) Descriptor

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

func (*CafeStored) GetId

func (m *CafeStored) GetId() string

func (*CafeStored) ProtoMessage

func (*CafeStored) ProtoMessage()

func (*CafeStored) Reset

func (m *CafeStored) Reset()

func (*CafeStored) String

func (m *CafeStored) String() string

func (*CafeStored) XXX_DiscardUnknown

func (m *CafeStored) XXX_DiscardUnknown()

func (*CafeStored) XXX_Marshal

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

func (*CafeStored) XXX_Merge

func (dst *CafeStored) XXX_Merge(src proto.Message)

func (*CafeStored) XXX_Size

func (m *CafeStored) XXX_Size() int

func (*CafeStored) XXX_Unmarshal

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

type CafeThread

type CafeThread struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Sk                   []byte   `protobuf:"bytes,2,opt,name=sk,proto3" json:"sk,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Schema               string   `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	Initiator            string   `protobuf:"bytes,5,opt,name=initiator,proto3" json:"initiator,omitempty"`
	Type                 int32    `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"`
	State                int32    `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"`
	Head                 string   `protobuf:"bytes,8,opt,name=head,proto3" json:"head,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CafeThread) Descriptor

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

func (*CafeThread) GetHead

func (m *CafeThread) GetHead() string

func (*CafeThread) GetInitiator

func (m *CafeThread) GetInitiator() string

func (*CafeThread) GetKey

func (m *CafeThread) GetKey() string

func (*CafeThread) GetName

func (m *CafeThread) GetName() string

func (*CafeThread) GetSchema

func (m *CafeThread) GetSchema() string

func (*CafeThread) GetSk

func (m *CafeThread) GetSk() []byte

func (*CafeThread) GetState

func (m *CafeThread) GetState() int32

func (*CafeThread) GetType

func (m *CafeThread) GetType() int32

func (*CafeThread) ProtoMessage

func (*CafeThread) ProtoMessage()

func (*CafeThread) Reset

func (m *CafeThread) Reset()

func (*CafeThread) String

func (m *CafeThread) String() string

func (*CafeThread) XXX_DiscardUnknown

func (m *CafeThread) XXX_DiscardUnknown()

func (*CafeThread) XXX_Marshal

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

func (*CafeThread) XXX_Merge

func (dst *CafeThread) XXX_Merge(src proto.Message)

func (*CafeThread) XXX_Size

func (m *CafeThread) XXX_Size() int

func (*CafeThread) XXX_Unmarshal

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

type Directory

type Directory struct {
	Files                map[string]*File `` /* 151-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Directory) Descriptor

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

func (*Directory) GetFiles

func (m *Directory) GetFiles() map[string]*File

func (*Directory) ProtoMessage

func (*Directory) ProtoMessage()

func (*Directory) Reset

func (m *Directory) Reset()

func (*Directory) String

func (m *Directory) String() string

func (*Directory) XXX_DiscardUnknown

func (m *Directory) XXX_DiscardUnknown()

func (*Directory) XXX_Marshal

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

func (*Directory) XXX_Merge

func (dst *Directory) XXX_Merge(src proto.Message)

func (*Directory) XXX_Size

func (m *Directory) XXX_Size() int

func (*Directory) XXX_Unmarshal

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

type Envelope

type Envelope struct {
	Message              *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Sig                  []byte   `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Envelope) Descriptor

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

func (*Envelope) GetMessage

func (m *Envelope) GetMessage() *Message

func (*Envelope) GetSig

func (m *Envelope) GetSig() []byte

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) Reset

func (m *Envelope) Reset()

func (*Envelope) String

func (m *Envelope) String() string

func (*Envelope) XXX_DiscardUnknown

func (m *Envelope) XXX_DiscardUnknown()

func (*Envelope) XXX_Marshal

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

func (*Envelope) XXX_Merge

func (dst *Envelope) XXX_Merge(src proto.Message)

func (*Envelope) XXX_Size

func (m *Envelope) XXX_Size() int

func (*Envelope) XXX_Unmarshal

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

type Error

type Error struct {
	Code                 uint32   `protobuf:"varint,1,opt,name=code,proto3" json:"code,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 (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() uint32

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

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

func (*Error) XXX_Merge

func (dst *Error) XXX_Merge(src proto.Message)

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

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

type File

type File struct {
	Mill                 string               `protobuf:"bytes,1,opt,name=mill,proto3" json:"mill,omitempty"`
	Checksum             string               `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"`
	Source               string               `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Opts                 string               `protobuf:"bytes,4,opt,name=opts,proto3" json:"opts,omitempty"`
	Hash                 string               `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	Key                  string               `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
	Media                string               `protobuf:"bytes,7,opt,name=media,proto3" json:"media,omitempty"`
	Name                 string               `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	Size                 int64                `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	Added                *timestamp.Timestamp `protobuf:"bytes,10,opt,name=added,proto3" json:"added,omitempty"`
	Meta                 *_struct.Struct      `protobuf:"bytes,11,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*File) Descriptor

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

func (*File) GetAdded

func (m *File) GetAdded() *timestamp.Timestamp

func (*File) GetChecksum

func (m *File) GetChecksum() string

func (*File) GetHash

func (m *File) GetHash() string

func (*File) GetKey

func (m *File) GetKey() string

func (*File) GetMedia

func (m *File) GetMedia() string

func (*File) GetMeta

func (m *File) GetMeta() *_struct.Struct

func (*File) GetMill

func (m *File) GetMill() string

func (*File) GetName

func (m *File) GetName() string

func (*File) GetOpts

func (m *File) GetOpts() string

func (*File) GetSize

func (m *File) GetSize() int64

func (*File) GetSource

func (m *File) GetSource() string

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) Reset

func (m *File) Reset()

func (*File) String

func (m *File) String() string

func (*File) XXX_DiscardUnknown

func (m *File) XXX_DiscardUnknown()

func (*File) XXX_Marshal

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

func (*File) XXX_Merge

func (dst *File) XXX_Merge(src proto.Message)

func (*File) XXX_Size

func (m *File) XXX_Size() int

func (*File) XXX_Unmarshal

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

type Message

type Message struct {
	Type                 Message_Type `protobuf:"varint,1,opt,name=type,proto3,enum=Message_Type" json:"type,omitempty"`
	Payload              *any.Any     `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	RequestId            int32        `protobuf:"varint,3,opt,name=requestId,proto3" json:"requestId,omitempty"`
	IsResponse           bool         `protobuf:"varint,4,opt,name=isResponse,proto3" json:"isResponse,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Message) Descriptor

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

func (*Message) GetIsResponse

func (m *Message) GetIsResponse() bool

func (*Message) GetPayload

func (m *Message) GetPayload() *any.Any

func (*Message) GetRequestId

func (m *Message) GetRequestId() int32

func (*Message) GetType

func (m *Message) GetType() Message_Type

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

func (dst *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

type Message_Type

type Message_Type int32
const (
	Message_PING                     Message_Type = 0
	Message_PONG                     Message_Type = 1
	Message_THREAD_ENVELOPE          Message_Type = 10
	Message_CAFE_CHALLENGE           Message_Type = 50
	Message_CAFE_NONCE               Message_Type = 51
	Message_CAFE_REGISTRATION        Message_Type = 52
	Message_CAFE_SESSION             Message_Type = 53
	Message_CAFE_REFRESH_SESSION     Message_Type = 54
	Message_CAFE_STORE               Message_Type = 55
	Message_CAFE_BLOCK               Message_Type = 56
	Message_CAFE_BLOCKLIST           Message_Type = 57
	Message_CAFE_STORE_THREAD        Message_Type = 58
	Message_CAFE_STORED              Message_Type = 59
	Message_CAFE_DELIVER_MESSAGE     Message_Type = 60
	Message_CAFE_CHECK_MESSAGES      Message_Type = 61
	Message_CAFE_MESSAGES            Message_Type = 62
	Message_CAFE_DELETE_MESSAGES     Message_Type = 63
	Message_CAFE_DELETE_MESSAGES_ACK Message_Type = 64
	Message_ERROR                    Message_Type = 500
)

func (Message_Type) EnumDescriptor

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

func (Message_Type) String

func (x Message_Type) String() string

type MobilePreparedFiles

type MobilePreparedFiles struct {
	Dir                  *Directory        `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
	Pin                  map[string]string `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MobilePreparedFiles) Descriptor

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

func (*MobilePreparedFiles) GetDir

func (m *MobilePreparedFiles) GetDir() *Directory

func (*MobilePreparedFiles) GetPin

func (m *MobilePreparedFiles) GetPin() map[string]string

func (*MobilePreparedFiles) ProtoMessage

func (*MobilePreparedFiles) ProtoMessage()

func (*MobilePreparedFiles) Reset

func (m *MobilePreparedFiles) Reset()

func (*MobilePreparedFiles) String

func (m *MobilePreparedFiles) String() string

func (*MobilePreparedFiles) XXX_DiscardUnknown

func (m *MobilePreparedFiles) XXX_DiscardUnknown()

func (*MobilePreparedFiles) XXX_Marshal

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

func (*MobilePreparedFiles) XXX_Merge

func (dst *MobilePreparedFiles) XXX_Merge(src proto.Message)

func (*MobilePreparedFiles) XXX_Size

func (m *MobilePreparedFiles) XXX_Size() int

func (*MobilePreparedFiles) XXX_Unmarshal

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

type ThreadAnnounce

type ThreadAnnounce struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Inboxes              []string `protobuf:"bytes,2,rep,name=inboxes,proto3" json:"inboxes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadAnnounce) Descriptor

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

func (*ThreadAnnounce) GetInboxes

func (m *ThreadAnnounce) GetInboxes() []string

func (*ThreadAnnounce) GetUsername

func (m *ThreadAnnounce) GetUsername() string

func (*ThreadAnnounce) ProtoMessage

func (*ThreadAnnounce) ProtoMessage()

func (*ThreadAnnounce) Reset

func (m *ThreadAnnounce) Reset()

func (*ThreadAnnounce) String

func (m *ThreadAnnounce) String() string

func (*ThreadAnnounce) XXX_DiscardUnknown

func (m *ThreadAnnounce) XXX_DiscardUnknown()

func (*ThreadAnnounce) XXX_Marshal

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

func (*ThreadAnnounce) XXX_Merge

func (dst *ThreadAnnounce) XXX_Merge(src proto.Message)

func (*ThreadAnnounce) XXX_Size

func (m *ThreadAnnounce) XXX_Size() int

func (*ThreadAnnounce) XXX_Unmarshal

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

type ThreadBlock

type ThreadBlock struct {
	Header               *ThreadBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Type                 ThreadBlock_Type   `protobuf:"varint,2,opt,name=type,proto3,enum=ThreadBlock_Type" json:"type,omitempty"`
	Payload              *any.Any           `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ThreadBlock) Descriptor

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

func (*ThreadBlock) GetHeader

func (m *ThreadBlock) GetHeader() *ThreadBlockHeader

func (*ThreadBlock) GetPayload

func (m *ThreadBlock) GetPayload() *any.Any

func (*ThreadBlock) GetType

func (m *ThreadBlock) GetType() ThreadBlock_Type

func (*ThreadBlock) ProtoMessage

func (*ThreadBlock) ProtoMessage()

func (*ThreadBlock) Reset

func (m *ThreadBlock) Reset()

func (*ThreadBlock) String

func (m *ThreadBlock) String() string

func (*ThreadBlock) XXX_DiscardUnknown

func (m *ThreadBlock) XXX_DiscardUnknown()

func (*ThreadBlock) XXX_Marshal

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

func (*ThreadBlock) XXX_Merge

func (dst *ThreadBlock) XXX_Merge(src proto.Message)

func (*ThreadBlock) XXX_Size

func (m *ThreadBlock) XXX_Size() int

func (*ThreadBlock) XXX_Unmarshal

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

type ThreadBlockHeader

type ThreadBlockHeader struct {
	Date                 *timestamp.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	Parents              []string             `protobuf:"bytes,2,rep,name=parents,proto3" json:"parents,omitempty"`
	Author               string               `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	Address              string               `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ThreadBlockHeader) Descriptor

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

func (*ThreadBlockHeader) GetAddress

func (m *ThreadBlockHeader) GetAddress() string

func (*ThreadBlockHeader) GetAuthor

func (m *ThreadBlockHeader) GetAuthor() string

func (*ThreadBlockHeader) GetDate

func (m *ThreadBlockHeader) GetDate() *timestamp.Timestamp

func (*ThreadBlockHeader) GetParents

func (m *ThreadBlockHeader) GetParents() []string

func (*ThreadBlockHeader) ProtoMessage

func (*ThreadBlockHeader) ProtoMessage()

func (*ThreadBlockHeader) Reset

func (m *ThreadBlockHeader) Reset()

func (*ThreadBlockHeader) String

func (m *ThreadBlockHeader) String() string

func (*ThreadBlockHeader) XXX_DiscardUnknown

func (m *ThreadBlockHeader) XXX_DiscardUnknown()

func (*ThreadBlockHeader) XXX_Marshal

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

func (*ThreadBlockHeader) XXX_Merge

func (dst *ThreadBlockHeader) XXX_Merge(src proto.Message)

func (*ThreadBlockHeader) XXX_Size

func (m *ThreadBlockHeader) XXX_Size() int

func (*ThreadBlockHeader) XXX_Unmarshal

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

type ThreadBlock_Type

type ThreadBlock_Type int32
const (
	ThreadBlock_MERGE    ThreadBlock_Type = 0
	ThreadBlock_IGNORE   ThreadBlock_Type = 1
	ThreadBlock_FLAG     ThreadBlock_Type = 2
	ThreadBlock_JOIN     ThreadBlock_Type = 3
	ThreadBlock_ANNOUNCE ThreadBlock_Type = 4
	ThreadBlock_LEAVE    ThreadBlock_Type = 5
	ThreadBlock_MESSAGE  ThreadBlock_Type = 6
	ThreadBlock_FILES    ThreadBlock_Type = 7
	ThreadBlock_COMMENT  ThreadBlock_Type = 8
	ThreadBlock_LIKE     ThreadBlock_Type = 9
	ThreadBlock_INVITE   ThreadBlock_Type = 50
)

func (ThreadBlock_Type) EnumDescriptor

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

func (ThreadBlock_Type) String

func (x ThreadBlock_Type) String() string

type ThreadComment

type ThreadComment struct {
	Target               string   `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Body                 string   `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadComment) Descriptor

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

func (*ThreadComment) GetBody

func (m *ThreadComment) GetBody() string

func (*ThreadComment) GetTarget

func (m *ThreadComment) GetTarget() string

func (*ThreadComment) ProtoMessage

func (*ThreadComment) ProtoMessage()

func (*ThreadComment) Reset

func (m *ThreadComment) Reset()

func (*ThreadComment) String

func (m *ThreadComment) String() string

func (*ThreadComment) XXX_DiscardUnknown

func (m *ThreadComment) XXX_DiscardUnknown()

func (*ThreadComment) XXX_Marshal

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

func (*ThreadComment) XXX_Merge

func (dst *ThreadComment) XXX_Merge(src proto.Message)

func (*ThreadComment) XXX_Size

func (m *ThreadComment) XXX_Size() int

func (*ThreadComment) XXX_Unmarshal

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

type ThreadEnvelope

type ThreadEnvelope struct {
	Thread               string   `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
	Hash                 string   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Ciphertext           []byte   `protobuf:"bytes,3,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

for wire transport

func (*ThreadEnvelope) Descriptor

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

func (*ThreadEnvelope) GetCiphertext

func (m *ThreadEnvelope) GetCiphertext() []byte

func (*ThreadEnvelope) GetHash

func (m *ThreadEnvelope) GetHash() string

func (*ThreadEnvelope) GetThread

func (m *ThreadEnvelope) GetThread() string

func (*ThreadEnvelope) ProtoMessage

func (*ThreadEnvelope) ProtoMessage()

func (*ThreadEnvelope) Reset

func (m *ThreadEnvelope) Reset()

func (*ThreadEnvelope) String

func (m *ThreadEnvelope) String() string

func (*ThreadEnvelope) XXX_DiscardUnknown

func (m *ThreadEnvelope) XXX_DiscardUnknown()

func (*ThreadEnvelope) XXX_Marshal

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

func (*ThreadEnvelope) XXX_Merge

func (dst *ThreadEnvelope) XXX_Merge(src proto.Message)

func (*ThreadEnvelope) XXX_Size

func (m *ThreadEnvelope) XXX_Size() int

func (*ThreadEnvelope) XXX_Unmarshal

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

type ThreadFiles

type ThreadFiles struct {
	Target               string            `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Body                 string            `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Keys                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ThreadFiles) Descriptor

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

func (*ThreadFiles) GetBody

func (m *ThreadFiles) GetBody() string

func (*ThreadFiles) GetKeys

func (m *ThreadFiles) GetKeys() map[string]string

func (*ThreadFiles) GetTarget

func (m *ThreadFiles) GetTarget() string

func (*ThreadFiles) ProtoMessage

func (*ThreadFiles) ProtoMessage()

func (*ThreadFiles) Reset

func (m *ThreadFiles) Reset()

func (*ThreadFiles) String

func (m *ThreadFiles) String() string

func (*ThreadFiles) XXX_DiscardUnknown

func (m *ThreadFiles) XXX_DiscardUnknown()

func (*ThreadFiles) XXX_Marshal

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

func (*ThreadFiles) XXX_Merge

func (dst *ThreadFiles) XXX_Merge(src proto.Message)

func (*ThreadFiles) XXX_Size

func (m *ThreadFiles) XXX_Size() int

func (*ThreadFiles) XXX_Unmarshal

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

type ThreadFlag

type ThreadFlag struct {
	Target               string   `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadFlag) Descriptor

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

func (*ThreadFlag) GetTarget

func (m *ThreadFlag) GetTarget() string

func (*ThreadFlag) ProtoMessage

func (*ThreadFlag) ProtoMessage()

func (*ThreadFlag) Reset

func (m *ThreadFlag) Reset()

func (*ThreadFlag) String

func (m *ThreadFlag) String() string

func (*ThreadFlag) XXX_DiscardUnknown

func (m *ThreadFlag) XXX_DiscardUnknown()

func (*ThreadFlag) XXX_Marshal

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

func (*ThreadFlag) XXX_Merge

func (dst *ThreadFlag) XXX_Merge(src proto.Message)

func (*ThreadFlag) XXX_Size

func (m *ThreadFlag) XXX_Size() int

func (*ThreadFlag) XXX_Unmarshal

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

type ThreadIgnore

type ThreadIgnore struct {
	Target               string   `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadIgnore) Descriptor

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

func (*ThreadIgnore) GetTarget

func (m *ThreadIgnore) GetTarget() string

func (*ThreadIgnore) ProtoMessage

func (*ThreadIgnore) ProtoMessage()

func (*ThreadIgnore) Reset

func (m *ThreadIgnore) Reset()

func (*ThreadIgnore) String

func (m *ThreadIgnore) String() string

func (*ThreadIgnore) XXX_DiscardUnknown

func (m *ThreadIgnore) XXX_DiscardUnknown()

func (*ThreadIgnore) XXX_Marshal

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

func (*ThreadIgnore) XXX_Merge

func (dst *ThreadIgnore) XXX_Merge(src proto.Message)

func (*ThreadIgnore) XXX_Size

func (m *ThreadIgnore) XXX_Size() int

func (*ThreadIgnore) XXX_Unmarshal

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

type ThreadInvite

type ThreadInvite struct {
	Sk                   []byte   `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Schema               string   `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"`
	Initiator            string   `protobuf:"bytes,4,opt,name=initiator,proto3" json:"initiator,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadInvite) Descriptor

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

func (*ThreadInvite) GetInitiator

func (m *ThreadInvite) GetInitiator() string

func (*ThreadInvite) GetName

func (m *ThreadInvite) GetName() string

func (*ThreadInvite) GetSchema

func (m *ThreadInvite) GetSchema() string

func (*ThreadInvite) GetSk

func (m *ThreadInvite) GetSk() []byte

func (*ThreadInvite) ProtoMessage

func (*ThreadInvite) ProtoMessage()

func (*ThreadInvite) Reset

func (m *ThreadInvite) Reset()

func (*ThreadInvite) String

func (m *ThreadInvite) String() string

func (*ThreadInvite) XXX_DiscardUnknown

func (m *ThreadInvite) XXX_DiscardUnknown()

func (*ThreadInvite) XXX_Marshal

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

func (*ThreadInvite) XXX_Merge

func (dst *ThreadInvite) XXX_Merge(src proto.Message)

func (*ThreadInvite) XXX_Size

func (m *ThreadInvite) XXX_Size() int

func (*ThreadInvite) XXX_Unmarshal

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

type ThreadJoin

type ThreadJoin struct {
	Inviter              string   `protobuf:"bytes,1,opt,name=inviter,proto3" json:"inviter,omitempty"`
	Username             string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Inboxes              []string `protobuf:"bytes,3,rep,name=inboxes,proto3" json:"inboxes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadJoin) Descriptor

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

func (*ThreadJoin) GetInboxes

func (m *ThreadJoin) GetInboxes() []string

func (*ThreadJoin) GetInviter

func (m *ThreadJoin) GetInviter() string

func (*ThreadJoin) GetUsername

func (m *ThreadJoin) GetUsername() string

func (*ThreadJoin) ProtoMessage

func (*ThreadJoin) ProtoMessage()

func (*ThreadJoin) Reset

func (m *ThreadJoin) Reset()

func (*ThreadJoin) String

func (m *ThreadJoin) String() string

func (*ThreadJoin) XXX_DiscardUnknown

func (m *ThreadJoin) XXX_DiscardUnknown()

func (*ThreadJoin) XXX_Marshal

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

func (*ThreadJoin) XXX_Merge

func (dst *ThreadJoin) XXX_Merge(src proto.Message)

func (*ThreadJoin) XXX_Size

func (m *ThreadJoin) XXX_Size() int

func (*ThreadJoin) XXX_Unmarshal

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

type ThreadLike

type ThreadLike struct {
	Target               string   `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadLike) Descriptor

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

func (*ThreadLike) GetTarget

func (m *ThreadLike) GetTarget() string

func (*ThreadLike) ProtoMessage

func (*ThreadLike) ProtoMessage()

func (*ThreadLike) Reset

func (m *ThreadLike) Reset()

func (*ThreadLike) String

func (m *ThreadLike) String() string

func (*ThreadLike) XXX_DiscardUnknown

func (m *ThreadLike) XXX_DiscardUnknown()

func (*ThreadLike) XXX_Marshal

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

func (*ThreadLike) XXX_Merge

func (dst *ThreadLike) XXX_Merge(src proto.Message)

func (*ThreadLike) XXX_Size

func (m *ThreadLike) XXX_Size() int

func (*ThreadLike) XXX_Unmarshal

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

type ThreadMessage

type ThreadMessage struct {
	Body                 string   `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ThreadMessage) Descriptor

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

func (*ThreadMessage) GetBody

func (m *ThreadMessage) GetBody() string

func (*ThreadMessage) ProtoMessage

func (*ThreadMessage) ProtoMessage()

func (*ThreadMessage) Reset

func (m *ThreadMessage) Reset()

func (*ThreadMessage) String

func (m *ThreadMessage) String() string

func (*ThreadMessage) XXX_DiscardUnknown

func (m *ThreadMessage) XXX_DiscardUnknown()

func (*ThreadMessage) XXX_Marshal

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

func (*ThreadMessage) XXX_Merge

func (dst *ThreadMessage) XXX_Merge(src proto.Message)

func (*ThreadMessage) XXX_Size

func (m *ThreadMessage) XXX_Size() int

func (*ThreadMessage) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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