service

package module
v0.0.0-...-00b7588 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: MIT Imports: 64 Imported by: 0

Documentation

Index

Constants

View Source
const VersionDev = "0.0.0-dev"

VersionDev is default for dev environment.

Variables

View Source
var (
	ErrInvalidLengthKeys        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKeys          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKeys = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AuthType_name = map[int32]string{
	0:  "UNKNOWN_AUTH",
	1:  "PASSWORD_AUTH",
	10: "FIDO2_HMAC_SECRET_AUTH",
}
View Source
var AuthType_value = map[string]int32{
	"UNKNOWN_AUTH":           0,
	"PASSWORD_AUTH":          1,
	"FIDO2_HMAC_SECRET_AUTH": 10,
}
View Source
var ContentType_name = map[int32]string{
	0: "BINARY_CONTENT",
	1: "UTF8_CONTENT",
}
View Source
var ContentType_value = map[string]int32{
	"BINARY_CONTENT": 0,
	"UTF8_CONTENT":   1,
}
View Source
var Encoding_name = map[int32]string{
	0: "HEX",
	1: "BASE62",
	2: "BASE58",
	3: "BASE32",
	4: "BASE16",
	5: "BASE64",
	6: "SALTPACK",
	7: "BIP39",
}
View Source
var Encoding_value = map[string]int32{
	"HEX":      0,
	"BASE62":   1,
	"BASE58":   2,
	"BASE32":   3,
	"BASE16":   4,
	"BASE64":   5,
	"SALTPACK": 6,
	"BIP39":    7,
}
View Source
var EncryptMode_name = map[int32]string{
	0: "DEFAULT_ENCRYPT_MODE",
	1: "ENCRYPT_V2",
	2: "SIGNCRYPT_V1",
}
View Source
var EncryptMode_value = map[string]int32{
	"DEFAULT_ENCRYPT_MODE": 0,
	"ENCRYPT_V2":           1,
	"SIGNCRYPT_V1":         2,
}
View Source
var ErrWormholeTimedOut = errors.New("wormhole timed out")

ErrWormholeTimedOut is timed out.

View Source
var ExportType_name = map[int32]string{
	0: "DEFAULT_EXPORT_TYPE",
	1: "SALTPACK_EXPORT_TYPE",
	2: "SSH_EXPORT_TYPE",
}
View Source
var ExportType_value = map[string]int32{
	"DEFAULT_EXPORT_TYPE":  0,
	"SALTPACK_EXPORT_TYPE": 1,
	"SSH_EXPORT_TYPE":      2,
}
View Source
var KeyType_name = map[int32]string{
	0:  "UNKNOWN_KEY_TYPE",
	10: "EDX25519",
	11: "EDX25519_PUBLIC",
	20: "X25519",
	21: "X25519_PUBLIC",
}
View Source
var KeyType_value = map[string]int32{
	"UNKNOWN_KEY_TYPE": 0,
	"EDX25519":         10,
	"EDX25519_PUBLIC":  11,
	"X25519":           20,
	"X25519_PUBLIC":    21,
}
View Source
var MessageType_name = map[int32]string{
	0: "MESSAGE_SENT",
	1: "MESSAGE_PENDING",
	2: "MESSAGE_ACK",
}
View Source
var MessageType_value = map[string]int32{
	"MESSAGE_SENT":    0,
	"MESSAGE_PENDING": 1,
	"MESSAGE_ACK":     2,
}
View Source
var PrefKey_name = map[int32]string{
	0: "PREF_UNKNOWN",
}
View Source
var PrefKey_value = map[string]int32{
	"PREF_UNKNOWN": 0,
}
View Source
var SecretType_name = map[int32]string{
	0:  "UNKNOWN_SECRET_TYPE",
	10: "PASSWORD_SECRET",
	11: "CONTACT_SECRET",
	12: "CARD_SECRET",
	13: "NOTE_SECRET",
}
View Source
var SecretType_value = map[string]int32{
	"UNKNOWN_SECRET_TYPE": 0,
	"PASSWORD_SECRET":     10,
	"CONTACT_SECRET":      11,
	"CARD_SECRET":         12,
	"NOTE_SECRET":         13,
}
View Source
var SortDirection_name = map[int32]string{
	0: "ASC",
	1: "DESC",
}
View Source
var SortDirection_value = map[string]int32{
	"ASC":  0,
	"DESC": 1,
}
View Source
var UserStatus_name = map[int32]string{
	0:  "USER_UNKNOWN",
	1:  "USER_OK",
	20: "USER_RESOURCE_NOT_FOUND",
	30: "USER_CONTENT_NOT_FOUND",
	31: "USER_CONTENT_INVALID",
	40: "USER_CONN_FAILURE",
	50: "USER_FAILURE",
}
View Source
var UserStatus_value = map[string]int32{
	"USER_UNKNOWN":            0,
	"USER_OK":                 1,
	"USER_RESOURCE_NOT_FOUND": 20,
	"USER_CONTENT_NOT_FOUND":  30,
	"USER_CONTENT_INVALID":    31,
	"USER_CONN_FAILURE":       40,
	"USER_FAILURE":            50,
}
View Source
var WatchStatus_name = map[int32]string{
	0:  "WATCH_UKNOWN",
	12: "WATCH_OUTAGE",
	13: "WATCH_DISRUPTED",
	14: "WATCH_STARTING",
	16: "WATCH_DATA",
}
View Source
var WatchStatus_value = map[string]int32{
	"WATCH_UKNOWN":    0,
	"WATCH_OUTAGE":    12,
	"WATCH_DISRUPTED": 13,
	"WATCH_STARTING":  14,
	"WATCH_DATA":      16,
}
View Source
var WormholeStatus_name = map[int32]string{
	0:   "WORMHOLE_DEFAULT",
	10:  "WORMHOLE_STARTING",
	20:  "WORMHOLE_OFFERING",
	21:  "WORMHOLE_ANSWERING",
	40:  "WORMHOLE_HANDSHAKE",
	100: "WORMHOLE_CONNECTED",
	200: "WORMHOLE_CLOSED",
}
View Source
var WormholeStatus_value = map[string]int32{
	"WORMHOLE_DEFAULT":   0,
	"WORMHOLE_STARTING":  10,
	"WORMHOLE_OFFERING":  20,
	"WORMHOLE_ANSWERING": 21,
	"WORMHOLE_HANDSHAKE": 40,
	"WORMHOLE_CONNECTED": 100,
	"WORMHOLE_CLOSED":    200,
}

Functions

func DefaultHomeDir

func DefaultHomeDir() string

DefaultHomeDir returns current user home directory (or "" on error).

func DeleteCertificate

func DeleteCertificate(cfg *Config) error

DeleteCertificate removes saved certificate.

func Emoji

func Emoji(key keys.Key) string

Emoji for KeyType.

func GenerateCertificate

func GenerateCertificate(cfg *Config, save bool) (*keys.CertificateKey, error)

GenerateCertificate generates a certificate key and saves it to the support dir.

func IsPortInUse

func IsPortInUse(port int) bool

IsPortInUse returns true if port is currently in use.

func LogsPath

func LogsPath(appName string, fileName string, makeDir bool) (string, error)

LogsPath ...

func NewServiceFn

func NewServiceFn(cfg *Config, build Build, cert *keys.CertificateKey, lgi LogInterceptor) (ServeFn, CloseFn, error)

NewServiceFn ...

func RegisterKeysServer

func RegisterKeysServer(s *grpc.Server, srv KeysServer)

func Run

func Run(build Build)

Run the service.

func RunClient

func RunClient(build Build)

RunClient runs the command line client

func SetLogger

func SetLogger(l Logger)

SetLogger sets logger for the package.

func SupportPath

func SupportPath(appName string, fileName string, makeDir bool) (string, error)

SupportPath ...

func Uninstall

func Uninstall(cfg *Config) error

Uninstall ...

Types

type AdminCheckRequest

type AdminCheckRequest struct {
	Signer               string   `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	KID                  string   `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AdminCheckRequest) Descriptor

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

func (*AdminCheckRequest) GoString

func (this *AdminCheckRequest) GoString() string

func (*AdminCheckRequest) Marshal

func (m *AdminCheckRequest) Marshal() (dAtA []byte, err error)

func (*AdminCheckRequest) MarshalTo

func (m *AdminCheckRequest) MarshalTo(dAtA []byte) (int, error)

func (*AdminCheckRequest) MarshalToSizedBuffer

func (m *AdminCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminCheckRequest) ProtoMessage

func (*AdminCheckRequest) ProtoMessage()

func (*AdminCheckRequest) Reset

func (m *AdminCheckRequest) Reset()

func (*AdminCheckRequest) Size

func (m *AdminCheckRequest) Size() (n int)

func (*AdminCheckRequest) String

func (m *AdminCheckRequest) String() string

func (*AdminCheckRequest) Unmarshal

func (m *AdminCheckRequest) Unmarshal(dAtA []byte) error

func (*AdminCheckRequest) XXX_DiscardUnknown

func (m *AdminCheckRequest) XXX_DiscardUnknown()

func (*AdminCheckRequest) XXX_Marshal

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

func (*AdminCheckRequest) XXX_Merge

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

func (*AdminCheckRequest) XXX_Size

func (m *AdminCheckRequest) XXX_Size() int

func (*AdminCheckRequest) XXX_Unmarshal

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

type AdminCheckResponse

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

func (*AdminCheckResponse) Descriptor

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

func (*AdminCheckResponse) GoString

func (this *AdminCheckResponse) GoString() string

func (*AdminCheckResponse) Marshal

func (m *AdminCheckResponse) Marshal() (dAtA []byte, err error)

func (*AdminCheckResponse) MarshalTo

func (m *AdminCheckResponse) MarshalTo(dAtA []byte) (int, error)

func (*AdminCheckResponse) MarshalToSizedBuffer

func (m *AdminCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminCheckResponse) ProtoMessage

func (*AdminCheckResponse) ProtoMessage()

func (*AdminCheckResponse) Reset

func (m *AdminCheckResponse) Reset()

func (*AdminCheckResponse) Size

func (m *AdminCheckResponse) Size() (n int)

func (*AdminCheckResponse) String

func (m *AdminCheckResponse) String() string

func (*AdminCheckResponse) Unmarshal

func (m *AdminCheckResponse) Unmarshal(dAtA []byte) error

func (*AdminCheckResponse) XXX_DiscardUnknown

func (m *AdminCheckResponse) XXX_DiscardUnknown()

func (*AdminCheckResponse) XXX_Marshal

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

func (*AdminCheckResponse) XXX_Merge

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

func (*AdminCheckResponse) XXX_Size

func (m *AdminCheckResponse) XXX_Size() int

func (*AdminCheckResponse) XXX_Unmarshal

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

type AdminSignURLRequest

type AdminSignURLRequest struct {
	Signer               string   `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Method               string   `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	URL                  string   `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AdminSignURLRequest) Descriptor

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

func (*AdminSignURLRequest) GoString

func (this *AdminSignURLRequest) GoString() string

func (*AdminSignURLRequest) Marshal

func (m *AdminSignURLRequest) Marshal() (dAtA []byte, err error)

func (*AdminSignURLRequest) MarshalTo

func (m *AdminSignURLRequest) MarshalTo(dAtA []byte) (int, error)

func (*AdminSignURLRequest) MarshalToSizedBuffer

func (m *AdminSignURLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminSignURLRequest) ProtoMessage

func (*AdminSignURLRequest) ProtoMessage()

func (*AdminSignURLRequest) Reset

func (m *AdminSignURLRequest) Reset()

func (*AdminSignURLRequest) Size

func (m *AdminSignURLRequest) Size() (n int)

func (*AdminSignURLRequest) String

func (m *AdminSignURLRequest) String() string

func (*AdminSignURLRequest) Unmarshal

func (m *AdminSignURLRequest) Unmarshal(dAtA []byte) error

func (*AdminSignURLRequest) XXX_DiscardUnknown

func (m *AdminSignURLRequest) XXX_DiscardUnknown()

func (*AdminSignURLRequest) XXX_Marshal

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

func (*AdminSignURLRequest) XXX_Merge

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

func (*AdminSignURLRequest) XXX_Size

func (m *AdminSignURLRequest) XXX_Size() int

func (*AdminSignURLRequest) XXX_Unmarshal

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

type AdminSignURLResponse

type AdminSignURLResponse struct {
	Auth                 string   `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	URL                  string   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	CURL                 string   `protobuf:"bytes,3,opt,name=curl,proto3" json:"curl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AdminSignURLResponse) Descriptor

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

func (*AdminSignURLResponse) GoString

func (this *AdminSignURLResponse) GoString() string

func (*AdminSignURLResponse) Marshal

func (m *AdminSignURLResponse) Marshal() (dAtA []byte, err error)

func (*AdminSignURLResponse) MarshalTo

func (m *AdminSignURLResponse) MarshalTo(dAtA []byte) (int, error)

func (*AdminSignURLResponse) MarshalToSizedBuffer

func (m *AdminSignURLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AdminSignURLResponse) ProtoMessage

func (*AdminSignURLResponse) ProtoMessage()

func (*AdminSignURLResponse) Reset

func (m *AdminSignURLResponse) Reset()

func (*AdminSignURLResponse) Size

func (m *AdminSignURLResponse) Size() (n int)

func (*AdminSignURLResponse) String

func (m *AdminSignURLResponse) String() string

func (*AdminSignURLResponse) Unmarshal

func (m *AdminSignURLResponse) Unmarshal(dAtA []byte) error

func (*AdminSignURLResponse) XXX_DiscardUnknown

func (m *AdminSignURLResponse) XXX_DiscardUnknown()

func (*AdminSignURLResponse) XXX_Marshal

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

func (*AdminSignURLResponse) XXX_Merge

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

func (*AdminSignURLResponse) XXX_Size

func (m *AdminSignURLResponse) XXX_Size() int

func (*AdminSignURLResponse) XXX_Unmarshal

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

type AuthLockRequest

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

func (*AuthLockRequest) Descriptor

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

func (*AuthLockRequest) GoString

func (this *AuthLockRequest) GoString() string

func (*AuthLockRequest) Marshal

func (m *AuthLockRequest) Marshal() (dAtA []byte, err error)

func (*AuthLockRequest) MarshalTo

func (m *AuthLockRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthLockRequest) MarshalToSizedBuffer

func (m *AuthLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthLockRequest) ProtoMessage

func (*AuthLockRequest) ProtoMessage()

func (*AuthLockRequest) Reset

func (m *AuthLockRequest) Reset()

func (*AuthLockRequest) Size

func (m *AuthLockRequest) Size() (n int)

func (*AuthLockRequest) String

func (m *AuthLockRequest) String() string

func (*AuthLockRequest) Unmarshal

func (m *AuthLockRequest) Unmarshal(dAtA []byte) error

func (*AuthLockRequest) XXX_DiscardUnknown

func (m *AuthLockRequest) XXX_DiscardUnknown()

func (*AuthLockRequest) XXX_Marshal

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

func (*AuthLockRequest) XXX_Merge

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

func (*AuthLockRequest) XXX_Size

func (m *AuthLockRequest) XXX_Size() int

func (*AuthLockRequest) XXX_Unmarshal

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

type AuthLockResponse

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

func (*AuthLockResponse) Descriptor

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

func (*AuthLockResponse) GoString

func (this *AuthLockResponse) GoString() string

func (*AuthLockResponse) Marshal

func (m *AuthLockResponse) Marshal() (dAtA []byte, err error)

func (*AuthLockResponse) MarshalTo

func (m *AuthLockResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthLockResponse) MarshalToSizedBuffer

func (m *AuthLockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthLockResponse) ProtoMessage

func (*AuthLockResponse) ProtoMessage()

func (*AuthLockResponse) Reset

func (m *AuthLockResponse) Reset()

func (*AuthLockResponse) Size

func (m *AuthLockResponse) Size() (n int)

func (*AuthLockResponse) String

func (m *AuthLockResponse) String() string

func (*AuthLockResponse) Unmarshal

func (m *AuthLockResponse) Unmarshal(dAtA []byte) error

func (*AuthLockResponse) XXX_DiscardUnknown

func (m *AuthLockResponse) XXX_DiscardUnknown()

func (*AuthLockResponse) XXX_Marshal

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

func (*AuthLockResponse) XXX_Merge

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

func (*AuthLockResponse) XXX_Size

func (m *AuthLockResponse) XXX_Size() int

func (*AuthLockResponse) XXX_Unmarshal

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

type AuthSetupRequest

type AuthSetupRequest struct {
	// Secret for auth depending on auth type, e.g. password, pin, etc
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// Type for auth.
	Type                 AuthType `protobuf:"varint,2,opt,name=type,proto3,enum=service.AuthType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthSetupRequest) Descriptor

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

func (*AuthSetupRequest) GoString

func (this *AuthSetupRequest) GoString() string

func (*AuthSetupRequest) Marshal

func (m *AuthSetupRequest) Marshal() (dAtA []byte, err error)

func (*AuthSetupRequest) MarshalTo

func (m *AuthSetupRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthSetupRequest) MarshalToSizedBuffer

func (m *AuthSetupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthSetupRequest) ProtoMessage

func (*AuthSetupRequest) ProtoMessage()

func (*AuthSetupRequest) Reset

func (m *AuthSetupRequest) Reset()

func (*AuthSetupRequest) Size

func (m *AuthSetupRequest) Size() (n int)

func (*AuthSetupRequest) String

func (m *AuthSetupRequest) String() string

func (*AuthSetupRequest) Unmarshal

func (m *AuthSetupRequest) Unmarshal(dAtA []byte) error

func (*AuthSetupRequest) XXX_DiscardUnknown

func (m *AuthSetupRequest) XXX_DiscardUnknown()

func (*AuthSetupRequest) XXX_Marshal

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

func (*AuthSetupRequest) XXX_Merge

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

func (*AuthSetupRequest) XXX_Size

func (m *AuthSetupRequest) XXX_Size() int

func (*AuthSetupRequest) XXX_Unmarshal

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

type AuthSetupResponse

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

func (*AuthSetupResponse) Descriptor

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

func (*AuthSetupResponse) GoString

func (this *AuthSetupResponse) GoString() string

func (*AuthSetupResponse) Marshal

func (m *AuthSetupResponse) Marshal() (dAtA []byte, err error)

func (*AuthSetupResponse) MarshalTo

func (m *AuthSetupResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthSetupResponse) MarshalToSizedBuffer

func (m *AuthSetupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthSetupResponse) ProtoMessage

func (*AuthSetupResponse) ProtoMessage()

func (*AuthSetupResponse) Reset

func (m *AuthSetupResponse) Reset()

func (*AuthSetupResponse) Size

func (m *AuthSetupResponse) Size() (n int)

func (*AuthSetupResponse) String

func (m *AuthSetupResponse) String() string

func (*AuthSetupResponse) Unmarshal

func (m *AuthSetupResponse) Unmarshal(dAtA []byte) error

func (*AuthSetupResponse) XXX_DiscardUnknown

func (m *AuthSetupResponse) XXX_DiscardUnknown()

func (*AuthSetupResponse) XXX_Marshal

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

func (*AuthSetupResponse) XXX_Merge

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

func (*AuthSetupResponse) XXX_Size

func (m *AuthSetupResponse) XXX_Size() int

func (*AuthSetupResponse) XXX_Unmarshal

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

type AuthType

type AuthType int32
const (
	UnknownAuth AuthType = 0
	// PasswordAuth using argon2id.
	PasswordAuth AuthType = 1
	// FIDO2HMACSecretAuth using FIDO2 hmac-secret extension
	FIDO2HMACSecretAuth AuthType = 10
)

func (AuthType) EnumDescriptor

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

func (AuthType) String

func (x AuthType) String() string

type AuthUnlockRequest

type AuthUnlockRequest struct {
	// Secret for auth depending on auth type, e.g. password, pin, etc
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// Type for auth.
	Type AuthType `protobuf:"varint,2,opt,name=type,proto3,enum=service.AuthType" json:"type,omitempty"`
	// Client name.
	Client               string   `protobuf:"bytes,6,opt,name=client,proto3" json:"client,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthUnlockRequest) Descriptor

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

func (*AuthUnlockRequest) GoString

func (this *AuthUnlockRequest) GoString() string

func (*AuthUnlockRequest) Marshal

func (m *AuthUnlockRequest) Marshal() (dAtA []byte, err error)

func (*AuthUnlockRequest) MarshalTo

func (m *AuthUnlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthUnlockRequest) MarshalToSizedBuffer

func (m *AuthUnlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUnlockRequest) ProtoMessage

func (*AuthUnlockRequest) ProtoMessage()

func (*AuthUnlockRequest) Reset

func (m *AuthUnlockRequest) Reset()

func (*AuthUnlockRequest) Size

func (m *AuthUnlockRequest) Size() (n int)

func (*AuthUnlockRequest) String

func (m *AuthUnlockRequest) String() string

func (*AuthUnlockRequest) Unmarshal

func (m *AuthUnlockRequest) Unmarshal(dAtA []byte) error

func (*AuthUnlockRequest) XXX_DiscardUnknown

func (m *AuthUnlockRequest) XXX_DiscardUnknown()

func (*AuthUnlockRequest) XXX_Marshal

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

func (*AuthUnlockRequest) XXX_Merge

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

func (*AuthUnlockRequest) XXX_Size

func (m *AuthUnlockRequest) XXX_Size() int

func (*AuthUnlockRequest) XXX_Unmarshal

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

type AuthUnlockResponse

type AuthUnlockResponse struct {
	// AuthToken to use for requests.
	AuthToken            string   `protobuf:"bytes,1,opt,name=authToken,proto3" json:"authToken,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthUnlockResponse) Descriptor

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

func (*AuthUnlockResponse) GoString

func (this *AuthUnlockResponse) GoString() string

func (*AuthUnlockResponse) Marshal

func (m *AuthUnlockResponse) Marshal() (dAtA []byte, err error)

func (*AuthUnlockResponse) MarshalTo

func (m *AuthUnlockResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthUnlockResponse) MarshalToSizedBuffer

func (m *AuthUnlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuthUnlockResponse) ProtoMessage

func (*AuthUnlockResponse) ProtoMessage()

func (*AuthUnlockResponse) Reset

func (m *AuthUnlockResponse) Reset()

func (*AuthUnlockResponse) Size

func (m *AuthUnlockResponse) Size() (n int)

func (*AuthUnlockResponse) String

func (m *AuthUnlockResponse) String() string

func (*AuthUnlockResponse) Unmarshal

func (m *AuthUnlockResponse) Unmarshal(dAtA []byte) error

func (*AuthUnlockResponse) XXX_DiscardUnknown

func (m *AuthUnlockResponse) XXX_DiscardUnknown()

func (*AuthUnlockResponse) XXX_Marshal

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

func (*AuthUnlockResponse) XXX_Merge

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

func (*AuthUnlockResponse) XXX_Size

func (m *AuthUnlockResponse) XXX_Size() int

func (*AuthUnlockResponse) XXX_Unmarshal

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

type Build

type Build struct {
	Version string
	Commit  string
	Date    string
}

Build describes build flags.

func (Build) String

func (b Build) String() string

type Client

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Client defines the RPC client.

func NewClient

func NewClient() *Client

NewClient constructs a client.

func (*Client) Close

func (c *Client) Close() error

Close ...

func (*Client) Connect

func (c *Client) Connect(cfg *Config, authToken string) error

Connect ...

func (*Client) FIDO2Client

func (c *Client) FIDO2Client() fido2.AuthClient

FIDO2Client returns FIDO2 Authenticators RPC client.

func (*Client) KeysClient

func (c *Client) KeysClient() KeysClient

KeysClient returns Keys RPC client.

type ClientConnectFn

type ClientConnectFn func(cfg *Config, authToken string) (*grpc.ClientConn, error)

ClientConnectFn describes client connect.

type CloseFn

type CloseFn func()

CloseFn closes the service.

type Collection

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

func (*Collection) Descriptor

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

func (*Collection) GoString

func (this *Collection) GoString() string

func (*Collection) Marshal

func (m *Collection) Marshal() (dAtA []byte, err error)

func (*Collection) MarshalTo

func (m *Collection) MarshalTo(dAtA []byte) (int, error)

func (*Collection) MarshalToSizedBuffer

func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) Reset

func (m *Collection) Reset()

func (*Collection) Size

func (m *Collection) Size() (n int)

func (*Collection) String

func (m *Collection) String() string

func (*Collection) Unmarshal

func (m *Collection) Unmarshal(dAtA []byte) error

func (*Collection) XXX_DiscardUnknown

func (m *Collection) XXX_DiscardUnknown()

func (*Collection) XXX_Marshal

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

func (*Collection) XXX_Merge

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

func (*Collection) XXX_Size

func (m *Collection) XXX_Size() int

func (*Collection) XXX_Unmarshal

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

type CollectionsRequest

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

func (*CollectionsRequest) Descriptor

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

func (*CollectionsRequest) GoString

func (this *CollectionsRequest) GoString() string

func (*CollectionsRequest) Marshal

func (m *CollectionsRequest) Marshal() (dAtA []byte, err error)

func (*CollectionsRequest) MarshalTo

func (m *CollectionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*CollectionsRequest) MarshalToSizedBuffer

func (m *CollectionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CollectionsRequest) ProtoMessage

func (*CollectionsRequest) ProtoMessage()

func (*CollectionsRequest) Reset

func (m *CollectionsRequest) Reset()

func (*CollectionsRequest) Size

func (m *CollectionsRequest) Size() (n int)

func (*CollectionsRequest) String

func (m *CollectionsRequest) String() string

func (*CollectionsRequest) Unmarshal

func (m *CollectionsRequest) Unmarshal(dAtA []byte) error

func (*CollectionsRequest) XXX_DiscardUnknown

func (m *CollectionsRequest) XXX_DiscardUnknown()

func (*CollectionsRequest) XXX_Marshal

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

func (*CollectionsRequest) XXX_Merge

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

func (*CollectionsRequest) XXX_Size

func (m *CollectionsRequest) XXX_Size() int

func (*CollectionsRequest) XXX_Unmarshal

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

type CollectionsResponse

type CollectionsResponse struct {
	Collections          []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*CollectionsResponse) Descriptor

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

func (*CollectionsResponse) GoString

func (this *CollectionsResponse) GoString() string

func (*CollectionsResponse) Marshal

func (m *CollectionsResponse) Marshal() (dAtA []byte, err error)

func (*CollectionsResponse) MarshalTo

func (m *CollectionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*CollectionsResponse) MarshalToSizedBuffer

func (m *CollectionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CollectionsResponse) ProtoMessage

func (*CollectionsResponse) ProtoMessage()

func (*CollectionsResponse) Reset

func (m *CollectionsResponse) Reset()

func (*CollectionsResponse) Size

func (m *CollectionsResponse) Size() (n int)

func (*CollectionsResponse) String

func (m *CollectionsResponse) String() string

func (*CollectionsResponse) Unmarshal

func (m *CollectionsResponse) Unmarshal(dAtA []byte) error

func (*CollectionsResponse) XXX_DiscardUnknown

func (m *CollectionsResponse) XXX_DiscardUnknown()

func (*CollectionsResponse) XXX_Marshal

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

func (*CollectionsResponse) XXX_Merge

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

func (*CollectionsResponse) XXX_Size

func (m *CollectionsResponse) XXX_Size() int

func (*CollectionsResponse) XXX_Unmarshal

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

type Config

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

Config for app runtime. Do not store anything sensitive in here, values are saved clear and can be modified at will. Config is not authenticated, use Settings instead.

func NewConfig

func NewConfig(appName string) (*Config, error)

NewConfig creates a Config.

func (Config) AppDir

func (c Config) AppDir() string

AppDir is where app related files are persisted.

func (Config) AppName

func (c Config) AppName() string

AppName returns current app name.

func (Config) AppPath

func (c Config) AppPath(fileName string, makeDir bool) (string, error)

AppPath ...

func (Config) Export

func (c Config) Export() ([]byte, error)

Export ...

func (*Config) Get

func (c *Config) Get(key string, dflt string) string

Get config value.

func (*Config) GetBool

func (c *Config) GetBool(key string) bool

GetBool gets config value as bool.

func (*Config) GetInt

func (c *Config) GetInt(key string, dflt int) int

GetInt gets config value as int.

func (Config) IsKey

func (c Config) IsKey(s string) bool

IsKey returns true if config key is recognized.

func (Config) KeyringService

func (c Config) KeyringService(name string) string

KeyringService for store name. Name should be from keyring.Store#Name().

func (*Config) Load

func (c *Config) Load() error

Load ...

func (*Config) LogLevel

func (c *Config) LogLevel() LogLevel

LogLevel for logging.

func (Config) LogsDir

func (c Config) LogsDir() string

LogsDir is where logs are written.

func (Config) LogsPath

func (c Config) LogsPath(fileName string, makeDir bool) (string, error)

LogsPath ...

func (Config) Port

func (c Config) Port() int

Port to connect.

func (*Config) Reset

func (c *Config) Reset() error

Reset removes saved values.

func (*Config) Save

func (c *Config) Save() error

Save ...

func (Config) Server

func (c Config) Server() string

Server to connect to.

func (*Config) Set

func (c *Config) Set(key string, value string)

Set value.

func (*Config) SetBool

func (c *Config) SetBool(key string, b bool)

SetBool sets bool value for key.

func (*Config) SetInt

func (c *Config) SetInt(key string, n int)

SetInt sets int value for key.

type Content

type Content struct {
	Data                 []byte      `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Type                 ContentType `protobuf:"varint,2,opt,name=type,proto3,enum=service.ContentType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Content) Descriptor

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

func (*Content) GoString

func (this *Content) GoString() string

func (*Content) Marshal

func (m *Content) Marshal() (dAtA []byte, err error)

func (*Content) MarshalTo

func (m *Content) MarshalTo(dAtA []byte) (int, error)

func (*Content) MarshalToSizedBuffer

func (m *Content) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) Reset

func (m *Content) Reset()

func (*Content) Size

func (m *Content) Size() (n int)

func (*Content) String

func (m *Content) String() string

func (*Content) Unmarshal

func (m *Content) Unmarshal(dAtA []byte) error

func (*Content) XXX_DiscardUnknown

func (m *Content) XXX_DiscardUnknown()

func (*Content) XXX_Marshal

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

func (*Content) XXX_Merge

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

func (*Content) XXX_Size

func (m *Content) XXX_Size() int

func (*Content) XXX_Unmarshal

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

type ContentType

type ContentType int32
const (
	BinaryContent ContentType = 0
	UTF8Content   ContentType = 1
)

func (ContentType) EnumDescriptor

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

func (ContentType) String

func (x ContentType) String() string

type ContextLogger

type ContextLogger interface {
	Debugf(ctx context.Context, format string, args ...interface{})
	Infof(ctx context.Context, format string, args ...interface{})
	Warningf(ctx context.Context, format string, args ...interface{})
	Errorf(ctx context.Context, format string, args ...interface{})
}

ContextLogger interface used in this package with request context.

func NewContextLogger

func NewContextLogger(lev LogLevel) ContextLogger

NewContextLogger ...

type DecryptFileInput

type DecryptFileInput struct {
	// In is the input encrypted file path.
	In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
	// Out is the output decrypted file path.
	Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"`
	// Armored, if true, expects file to be armored.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Mode is the encryption mode.
	Mode                 EncryptMode `protobuf:"varint,13,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DecryptFileInput) Descriptor

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

func (*DecryptFileInput) GoString

func (this *DecryptFileInput) GoString() string

func (*DecryptFileInput) Marshal

func (m *DecryptFileInput) Marshal() (dAtA []byte, err error)

func (*DecryptFileInput) MarshalTo

func (m *DecryptFileInput) MarshalTo(dAtA []byte) (int, error)

func (*DecryptFileInput) MarshalToSizedBuffer

func (m *DecryptFileInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecryptFileInput) ProtoMessage

func (*DecryptFileInput) ProtoMessage()

func (*DecryptFileInput) Reset

func (m *DecryptFileInput) Reset()

func (*DecryptFileInput) Size

func (m *DecryptFileInput) Size() (n int)

func (*DecryptFileInput) String

func (m *DecryptFileInput) String() string

func (*DecryptFileInput) Unmarshal

func (m *DecryptFileInput) Unmarshal(dAtA []byte) error

func (*DecryptFileInput) XXX_DiscardUnknown

func (m *DecryptFileInput) XXX_DiscardUnknown()

func (*DecryptFileInput) XXX_Marshal

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

func (*DecryptFileInput) XXX_Merge

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

func (*DecryptFileInput) XXX_Size

func (m *DecryptFileInput) XXX_Size() int

func (*DecryptFileInput) XXX_Unmarshal

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

type DecryptFileOutput

type DecryptFileOutput struct {
	Sender               *Key     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Out                  string   `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"`
	Bytes                int32    `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Total                int32    `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptFileOutput) Descriptor

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

func (*DecryptFileOutput) GoString

func (this *DecryptFileOutput) GoString() string

func (*DecryptFileOutput) Marshal

func (m *DecryptFileOutput) Marshal() (dAtA []byte, err error)

func (*DecryptFileOutput) MarshalTo

func (m *DecryptFileOutput) MarshalTo(dAtA []byte) (int, error)

func (*DecryptFileOutput) MarshalToSizedBuffer

func (m *DecryptFileOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecryptFileOutput) ProtoMessage

func (*DecryptFileOutput) ProtoMessage()

func (*DecryptFileOutput) Reset

func (m *DecryptFileOutput) Reset()

func (*DecryptFileOutput) Size

func (m *DecryptFileOutput) Size() (n int)

func (*DecryptFileOutput) String

func (m *DecryptFileOutput) String() string

func (*DecryptFileOutput) Unmarshal

func (m *DecryptFileOutput) Unmarshal(dAtA []byte) error

func (*DecryptFileOutput) XXX_DiscardUnknown

func (m *DecryptFileOutput) XXX_DiscardUnknown()

func (*DecryptFileOutput) XXX_Marshal

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

func (*DecryptFileOutput) XXX_Merge

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

func (*DecryptFileOutput) XXX_Size

func (m *DecryptFileOutput) XXX_Size() int

func (*DecryptFileOutput) XXX_Unmarshal

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

type DecryptInput

type DecryptInput struct {
	// Data, encrypted.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptInput) Descriptor

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

func (*DecryptInput) GoString

func (this *DecryptInput) GoString() string

func (*DecryptInput) Marshal

func (m *DecryptInput) Marshal() (dAtA []byte, err error)

func (*DecryptInput) MarshalTo

func (m *DecryptInput) MarshalTo(dAtA []byte) (int, error)

func (*DecryptInput) MarshalToSizedBuffer

func (m *DecryptInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecryptInput) ProtoMessage

func (*DecryptInput) ProtoMessage()

func (*DecryptInput) Reset

func (m *DecryptInput) Reset()

func (*DecryptInput) Size

func (m *DecryptInput) Size() (n int)

func (*DecryptInput) String

func (m *DecryptInput) String() string

func (*DecryptInput) Unmarshal

func (m *DecryptInput) Unmarshal(dAtA []byte) error

func (*DecryptInput) XXX_DiscardUnknown

func (m *DecryptInput) XXX_DiscardUnknown()

func (*DecryptInput) XXX_Marshal

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

func (*DecryptInput) XXX_Merge

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

func (*DecryptInput) XXX_Size

func (m *DecryptInput) XXX_Size() int

func (*DecryptInput) XXX_Unmarshal

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

type DecryptOutput

type DecryptOutput struct {
	// Data, decrypted. If empty, is EOF.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Sender               *Key     `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptOutput) Descriptor

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

func (*DecryptOutput) GoString

func (this *DecryptOutput) GoString() string

func (*DecryptOutput) Marshal

func (m *DecryptOutput) Marshal() (dAtA []byte, err error)

func (*DecryptOutput) MarshalTo

func (m *DecryptOutput) MarshalTo(dAtA []byte) (int, error)

func (*DecryptOutput) MarshalToSizedBuffer

func (m *DecryptOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecryptOutput) ProtoMessage

func (*DecryptOutput) ProtoMessage()

func (*DecryptOutput) Reset

func (m *DecryptOutput) Reset()

func (*DecryptOutput) Size

func (m *DecryptOutput) Size() (n int)

func (*DecryptOutput) String

func (m *DecryptOutput) String() string

func (*DecryptOutput) Unmarshal

func (m *DecryptOutput) Unmarshal(dAtA []byte) error

func (*DecryptOutput) XXX_DiscardUnknown

func (m *DecryptOutput) XXX_DiscardUnknown()

func (*DecryptOutput) XXX_Marshal

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

func (*DecryptOutput) XXX_Merge

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

func (*DecryptOutput) XXX_Size

func (m *DecryptOutput) XXX_Size() int

func (*DecryptOutput) XXX_Unmarshal

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

type DecryptRequest

type DecryptRequest struct {
	// Data to decrypt.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Armored, if true, expects data to be armored.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Mode is the encryption mode.
	Mode                 EncryptMode `protobuf:"varint,13,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DecryptRequest) Descriptor

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

func (*DecryptRequest) GoString

func (this *DecryptRequest) GoString() string

func (*DecryptRequest) Marshal

func (m *DecryptRequest) Marshal() (dAtA []byte, err error)

func (*DecryptRequest) MarshalTo

func (m *DecryptRequest) MarshalTo(dAtA []byte) (int, error)

func (*DecryptRequest) MarshalToSizedBuffer

func (m *DecryptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecryptRequest) ProtoMessage

func (*DecryptRequest) ProtoMessage()

func (*DecryptRequest) Reset

func (m *DecryptRequest) Reset()

func (*DecryptRequest) Size

func (m *DecryptRequest) Size() (n int)

func (*DecryptRequest) String

func (m *DecryptRequest) String() string

func (*DecryptRequest) Unmarshal

func (m *DecryptRequest) Unmarshal(dAtA []byte) error

func (*DecryptRequest) XXX_DiscardUnknown

func (m *DecryptRequest) XXX_DiscardUnknown()

func (*DecryptRequest) XXX_Marshal

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

func (*DecryptRequest) XXX_Merge

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

func (*DecryptRequest) XXX_Size

func (m *DecryptRequest) XXX_Size() int

func (*DecryptRequest) XXX_Unmarshal

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

type DecryptResponse

type DecryptResponse struct {
	// Data decrypted.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Sender (if not anonymous)
	Sender               *Key     `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptResponse) Descriptor

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

func (*DecryptResponse) GoString

func (this *DecryptResponse) GoString() string

func (*DecryptResponse) Marshal

func (m *DecryptResponse) Marshal() (dAtA []byte, err error)

func (*DecryptResponse) MarshalTo

func (m *DecryptResponse) MarshalTo(dAtA []byte) (int, error)

func (*DecryptResponse) MarshalToSizedBuffer

func (m *DecryptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecryptResponse) ProtoMessage

func (*DecryptResponse) ProtoMessage()

func (*DecryptResponse) Reset

func (m *DecryptResponse) Reset()

func (*DecryptResponse) Size

func (m *DecryptResponse) Size() (n int)

func (*DecryptResponse) String

func (m *DecryptResponse) String() string

func (*DecryptResponse) Unmarshal

func (m *DecryptResponse) Unmarshal(dAtA []byte) error

func (*DecryptResponse) XXX_DiscardUnknown

func (m *DecryptResponse) XXX_DiscardUnknown()

func (*DecryptResponse) XXX_Marshal

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

func (*DecryptResponse) XXX_Merge

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

func (*DecryptResponse) XXX_Size

func (m *DecryptResponse) XXX_Size() int

func (*DecryptResponse) XXX_Unmarshal

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

type DecryptStreamClient

type DecryptStreamClient interface {
	Send(*DecryptInput) error
	Recv() (*DecryptOutput, error)
	grpc.ClientStream
}

DecryptStreamClient can send and recieve input and output.

func NewDecryptStreamClient

func NewDecryptStreamClient(ctx context.Context, cl KeysClient, armored bool, mode EncryptMode) (DecryptStreamClient, error)

NewDecryptStreamClient returns DecryptStreamClient based on options.

type Document

type Document struct {
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	CreatedAt            int64    `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt            int64    `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Document) Descriptor

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

func (*Document) GoString

func (this *Document) GoString() string

func (*Document) Marshal

func (m *Document) Marshal() (dAtA []byte, err error)

func (*Document) MarshalTo

func (m *Document) MarshalTo(dAtA []byte) (int, error)

func (*Document) MarshalToSizedBuffer

func (m *Document) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) Reset

func (m *Document) Reset()

func (*Document) Size

func (m *Document) Size() (n int)

func (*Document) String

func (m *Document) String() string

func (*Document) Unmarshal

func (m *Document) Unmarshal(dAtA []byte) error

func (*Document) XXX_DiscardUnknown

func (m *Document) XXX_DiscardUnknown()

func (*Document) XXX_Marshal

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

func (*Document) XXX_Merge

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

func (*Document) XXX_Size

func (m *Document) XXX_Size() int

func (*Document) XXX_Unmarshal

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

type DocumentDeleteRequest

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

func (*DocumentDeleteRequest) Descriptor

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

func (*DocumentDeleteRequest) GoString

func (this *DocumentDeleteRequest) GoString() string

func (*DocumentDeleteRequest) Marshal

func (m *DocumentDeleteRequest) Marshal() (dAtA []byte, err error)

func (*DocumentDeleteRequest) MarshalTo

func (m *DocumentDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*DocumentDeleteRequest) MarshalToSizedBuffer

func (m *DocumentDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DocumentDeleteRequest) ProtoMessage

func (*DocumentDeleteRequest) ProtoMessage()

func (*DocumentDeleteRequest) Reset

func (m *DocumentDeleteRequest) Reset()

func (*DocumentDeleteRequest) Size

func (m *DocumentDeleteRequest) Size() (n int)

func (*DocumentDeleteRequest) String

func (m *DocumentDeleteRequest) String() string

func (*DocumentDeleteRequest) Unmarshal

func (m *DocumentDeleteRequest) Unmarshal(dAtA []byte) error

func (*DocumentDeleteRequest) XXX_DiscardUnknown

func (m *DocumentDeleteRequest) XXX_DiscardUnknown()

func (*DocumentDeleteRequest) XXX_Marshal

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

func (*DocumentDeleteRequest) XXX_Merge

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

func (*DocumentDeleteRequest) XXX_Size

func (m *DocumentDeleteRequest) XXX_Size() int

func (*DocumentDeleteRequest) XXX_Unmarshal

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

type DocumentDeleteResponse

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

func (*DocumentDeleteResponse) Descriptor

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

func (*DocumentDeleteResponse) GoString

func (this *DocumentDeleteResponse) GoString() string

func (*DocumentDeleteResponse) Marshal

func (m *DocumentDeleteResponse) Marshal() (dAtA []byte, err error)

func (*DocumentDeleteResponse) MarshalTo

func (m *DocumentDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*DocumentDeleteResponse) MarshalToSizedBuffer

func (m *DocumentDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DocumentDeleteResponse) ProtoMessage

func (*DocumentDeleteResponse) ProtoMessage()

func (*DocumentDeleteResponse) Reset

func (m *DocumentDeleteResponse) Reset()

func (*DocumentDeleteResponse) Size

func (m *DocumentDeleteResponse) Size() (n int)

func (*DocumentDeleteResponse) String

func (m *DocumentDeleteResponse) String() string

func (*DocumentDeleteResponse) Unmarshal

func (m *DocumentDeleteResponse) Unmarshal(dAtA []byte) error

func (*DocumentDeleteResponse) XXX_DiscardUnknown

func (m *DocumentDeleteResponse) XXX_DiscardUnknown()

func (*DocumentDeleteResponse) XXX_Marshal

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

func (*DocumentDeleteResponse) XXX_Merge

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

func (*DocumentDeleteResponse) XXX_Size

func (m *DocumentDeleteResponse) XXX_Size() int

func (*DocumentDeleteResponse) XXX_Unmarshal

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

type DocumentsRequest

type DocumentsRequest struct {
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Prefix               string   `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DocumentsRequest) Descriptor

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

func (*DocumentsRequest) GoString

func (this *DocumentsRequest) GoString() string

func (*DocumentsRequest) Marshal

func (m *DocumentsRequest) Marshal() (dAtA []byte, err error)

func (*DocumentsRequest) MarshalTo

func (m *DocumentsRequest) MarshalTo(dAtA []byte) (int, error)

func (*DocumentsRequest) MarshalToSizedBuffer

func (m *DocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DocumentsRequest) ProtoMessage

func (*DocumentsRequest) ProtoMessage()

func (*DocumentsRequest) Reset

func (m *DocumentsRequest) Reset()

func (*DocumentsRequest) Size

func (m *DocumentsRequest) Size() (n int)

func (*DocumentsRequest) String

func (m *DocumentsRequest) String() string

func (*DocumentsRequest) Unmarshal

func (m *DocumentsRequest) Unmarshal(dAtA []byte) error

func (*DocumentsRequest) XXX_DiscardUnknown

func (m *DocumentsRequest) XXX_DiscardUnknown()

func (*DocumentsRequest) XXX_Marshal

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

func (*DocumentsRequest) XXX_Merge

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

func (*DocumentsRequest) XXX_Size

func (m *DocumentsRequest) XXX_Size() int

func (*DocumentsRequest) XXX_Unmarshal

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

type DocumentsResponse

type DocumentsResponse struct {
	Documents            []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DocumentsResponse) Descriptor

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

func (*DocumentsResponse) GoString

func (this *DocumentsResponse) GoString() string

func (*DocumentsResponse) Marshal

func (m *DocumentsResponse) Marshal() (dAtA []byte, err error)

func (*DocumentsResponse) MarshalTo

func (m *DocumentsResponse) MarshalTo(dAtA []byte) (int, error)

func (*DocumentsResponse) MarshalToSizedBuffer

func (m *DocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DocumentsResponse) ProtoMessage

func (*DocumentsResponse) ProtoMessage()

func (*DocumentsResponse) Reset

func (m *DocumentsResponse) Reset()

func (*DocumentsResponse) Size

func (m *DocumentsResponse) Size() (n int)

func (*DocumentsResponse) String

func (m *DocumentsResponse) String() string

func (*DocumentsResponse) Unmarshal

func (m *DocumentsResponse) Unmarshal(dAtA []byte) error

func (*DocumentsResponse) XXX_DiscardUnknown

func (m *DocumentsResponse) XXX_DiscardUnknown()

func (*DocumentsResponse) XXX_Marshal

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

func (*DocumentsResponse) XXX_Merge

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

func (*DocumentsResponse) XXX_Size

func (m *DocumentsResponse) XXX_Size() int

func (*DocumentsResponse) XXX_Unmarshal

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

type Encoding

type Encoding int32
const (
	Hex      Encoding = 0
	Base62   Encoding = 1
	Base58   Encoding = 2
	Base32   Encoding = 3
	Base16   Encoding = 4
	Base64   Encoding = 5
	Saltpack Encoding = 6
	BIP39    Encoding = 7
)

func (Encoding) EnumDescriptor

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

func (Encoding) String

func (x Encoding) String() string

type EncryptFileInput

type EncryptFileInput struct {
	// In is input file path.
	In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
	// Out is output file path.
	Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"`
	// Armored, if true will return armored string output.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Recipients to encrypt to.
	Recipients []string `protobuf:"bytes,11,rep,name=recipients,proto3" json:"recipients,omitempty"`
	// Sender, or empty, if anonymous.
	Sender string `protobuf:"bytes,12,opt,name=sender,proto3" json:"sender,omitempty"`
	// Mode is the encryption mode.
	Mode                 EncryptMode `protobuf:"varint,13,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*EncryptFileInput) Descriptor

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

func (*EncryptFileInput) GoString

func (this *EncryptFileInput) GoString() string

func (*EncryptFileInput) Marshal

func (m *EncryptFileInput) Marshal() (dAtA []byte, err error)

func (*EncryptFileInput) MarshalTo

func (m *EncryptFileInput) MarshalTo(dAtA []byte) (int, error)

func (*EncryptFileInput) MarshalToSizedBuffer

func (m *EncryptFileInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptFileInput) ProtoMessage

func (*EncryptFileInput) ProtoMessage()

func (*EncryptFileInput) Reset

func (m *EncryptFileInput) Reset()

func (*EncryptFileInput) Size

func (m *EncryptFileInput) Size() (n int)

func (*EncryptFileInput) String

func (m *EncryptFileInput) String() string

func (*EncryptFileInput) Unmarshal

func (m *EncryptFileInput) Unmarshal(dAtA []byte) error

func (*EncryptFileInput) XXX_DiscardUnknown

func (m *EncryptFileInput) XXX_DiscardUnknown()

func (*EncryptFileInput) XXX_Marshal

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

func (*EncryptFileInput) XXX_Merge

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

func (*EncryptFileInput) XXX_Size

func (m *EncryptFileInput) XXX_Size() int

func (*EncryptFileInput) XXX_Unmarshal

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

type EncryptFileOutput

type EncryptFileOutput struct {
	Bytes                int32    `protobuf:"varint,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Total                int32    `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptFileOutput) Descriptor

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

func (*EncryptFileOutput) GoString

func (this *EncryptFileOutput) GoString() string

func (*EncryptFileOutput) Marshal

func (m *EncryptFileOutput) Marshal() (dAtA []byte, err error)

func (*EncryptFileOutput) MarshalTo

func (m *EncryptFileOutput) MarshalTo(dAtA []byte) (int, error)

func (*EncryptFileOutput) MarshalToSizedBuffer

func (m *EncryptFileOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptFileOutput) ProtoMessage

func (*EncryptFileOutput) ProtoMessage()

func (*EncryptFileOutput) Reset

func (m *EncryptFileOutput) Reset()

func (*EncryptFileOutput) Size

func (m *EncryptFileOutput) Size() (n int)

func (*EncryptFileOutput) String

func (m *EncryptFileOutput) String() string

func (*EncryptFileOutput) Unmarshal

func (m *EncryptFileOutput) Unmarshal(dAtA []byte) error

func (*EncryptFileOutput) XXX_DiscardUnknown

func (m *EncryptFileOutput) XXX_DiscardUnknown()

func (*EncryptFileOutput) XXX_Marshal

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

func (*EncryptFileOutput) XXX_Merge

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

func (*EncryptFileOutput) XXX_Size

func (m *EncryptFileOutput) XXX_Size() int

func (*EncryptFileOutput) XXX_Unmarshal

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

type EncryptInput

type EncryptInput struct {
	// Data to encrypt. Send empty byte slice as last message.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Armored, if true will return armored string output.
	Armored bool `protobuf:"varint,2,opt,name=armored,proto3" json:"armored,omitempty"`
	// Recipients to encrypt to.
	Recipients []string `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"`
	// Sender, or empty, if anonymous.
	Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	// Mode is the encryption mode.
	Mode                 EncryptMode `protobuf:"varint,5,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*EncryptInput) Descriptor

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

func (*EncryptInput) GoString

func (this *EncryptInput) GoString() string

func (*EncryptInput) Marshal

func (m *EncryptInput) Marshal() (dAtA []byte, err error)

func (*EncryptInput) MarshalTo

func (m *EncryptInput) MarshalTo(dAtA []byte) (int, error)

func (*EncryptInput) MarshalToSizedBuffer

func (m *EncryptInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptInput) ProtoMessage

func (*EncryptInput) ProtoMessage()

func (*EncryptInput) Reset

func (m *EncryptInput) Reset()

func (*EncryptInput) Size

func (m *EncryptInput) Size() (n int)

func (*EncryptInput) String

func (m *EncryptInput) String() string

func (*EncryptInput) Unmarshal

func (m *EncryptInput) Unmarshal(dAtA []byte) error

func (*EncryptInput) XXX_DiscardUnknown

func (m *EncryptInput) XXX_DiscardUnknown()

func (*EncryptInput) XXX_Marshal

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

func (*EncryptInput) XXX_Merge

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

func (*EncryptInput) XXX_Size

func (m *EncryptInput) XXX_Size() int

func (*EncryptInput) XXX_Unmarshal

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

type EncryptMode

type EncryptMode int32
const (
	DefaultEncryptMode EncryptMode = 0
	EncryptV2          EncryptMode = 1
	SigncryptV1        EncryptMode = 2
)

func (EncryptMode) EnumDescriptor

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

func (EncryptMode) String

func (x EncryptMode) String() string

type EncryptOutput

type EncryptOutput struct {
	// Data, encrypted.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptOutput) Descriptor

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

func (*EncryptOutput) GoString

func (this *EncryptOutput) GoString() string

func (*EncryptOutput) Marshal

func (m *EncryptOutput) Marshal() (dAtA []byte, err error)

func (*EncryptOutput) MarshalTo

func (m *EncryptOutput) MarshalTo(dAtA []byte) (int, error)

func (*EncryptOutput) MarshalToSizedBuffer

func (m *EncryptOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptOutput) ProtoMessage

func (*EncryptOutput) ProtoMessage()

func (*EncryptOutput) Reset

func (m *EncryptOutput) Reset()

func (*EncryptOutput) Size

func (m *EncryptOutput) Size() (n int)

func (*EncryptOutput) String

func (m *EncryptOutput) String() string

func (*EncryptOutput) Unmarshal

func (m *EncryptOutput) Unmarshal(dAtA []byte) error

func (*EncryptOutput) XXX_DiscardUnknown

func (m *EncryptOutput) XXX_DiscardUnknown()

func (*EncryptOutput) XXX_Marshal

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

func (*EncryptOutput) XXX_Merge

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

func (*EncryptOutput) XXX_Size

func (m *EncryptOutput) XXX_Size() int

func (*EncryptOutput) XXX_Unmarshal

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

type EncryptRequest

type EncryptRequest struct {
	// Data to encrypt.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Armored, if true will return armored string output.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Recipients to encrypt to.
	Recipients []string `protobuf:"bytes,11,rep,name=recipients,proto3" json:"recipients,omitempty"`
	// Sender, or empty, if anonymous.
	Sender string `protobuf:"bytes,12,opt,name=sender,proto3" json:"sender,omitempty"`
	// Mode is the encryption mode.
	Mode                 EncryptMode `protobuf:"varint,13,opt,name=mode,proto3,enum=service.EncryptMode" json:"mode,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*EncryptRequest) Descriptor

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

func (*EncryptRequest) GoString

func (this *EncryptRequest) GoString() string

func (*EncryptRequest) Marshal

func (m *EncryptRequest) Marshal() (dAtA []byte, err error)

func (*EncryptRequest) MarshalTo

func (m *EncryptRequest) MarshalTo(dAtA []byte) (int, error)

func (*EncryptRequest) MarshalToSizedBuffer

func (m *EncryptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptRequest) ProtoMessage

func (*EncryptRequest) ProtoMessage()

func (*EncryptRequest) Reset

func (m *EncryptRequest) Reset()

func (*EncryptRequest) Size

func (m *EncryptRequest) Size() (n int)

func (*EncryptRequest) String

func (m *EncryptRequest) String() string

func (*EncryptRequest) Unmarshal

func (m *EncryptRequest) Unmarshal(dAtA []byte) error

func (*EncryptRequest) XXX_DiscardUnknown

func (m *EncryptRequest) XXX_DiscardUnknown()

func (*EncryptRequest) XXX_Marshal

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

func (*EncryptRequest) XXX_Merge

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

func (*EncryptRequest) XXX_Size

func (m *EncryptRequest) XXX_Size() int

func (*EncryptRequest) XXX_Unmarshal

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

type EncryptResponse

type EncryptResponse struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptResponse) Descriptor

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

func (*EncryptResponse) GoString

func (this *EncryptResponse) GoString() string

func (*EncryptResponse) Marshal

func (m *EncryptResponse) Marshal() (dAtA []byte, err error)

func (*EncryptResponse) MarshalTo

func (m *EncryptResponse) MarshalTo(dAtA []byte) (int, error)

func (*EncryptResponse) MarshalToSizedBuffer

func (m *EncryptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EncryptResponse) ProtoMessage

func (*EncryptResponse) ProtoMessage()

func (*EncryptResponse) Reset

func (m *EncryptResponse) Reset()

func (*EncryptResponse) Size

func (m *EncryptResponse) Size() (n int)

func (*EncryptResponse) String

func (m *EncryptResponse) String() string

func (*EncryptResponse) Unmarshal

func (m *EncryptResponse) Unmarshal(dAtA []byte) error

func (*EncryptResponse) XXX_DiscardUnknown

func (m *EncryptResponse) XXX_DiscardUnknown()

func (*EncryptResponse) XXX_Marshal

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

func (*EncryptResponse) XXX_Merge

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

func (*EncryptResponse) XXX_Size

func (m *EncryptResponse) XXX_Size() int

func (*EncryptResponse) XXX_Unmarshal

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

type ExportType

type ExportType int32
const (
	DefaultExport  ExportType = 0
	SaltpackExport ExportType = 1
	SSHExport      ExportType = 2
)

func (ExportType) EnumDescriptor

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

func (ExportType) String

func (x ExportType) String() string

type GitSetupRequest

type GitSetupRequest struct {
	URL                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Key                  string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GitSetupRequest) Descriptor

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

func (*GitSetupRequest) GoString

func (this *GitSetupRequest) GoString() string

func (*GitSetupRequest) Marshal

func (m *GitSetupRequest) Marshal() (dAtA []byte, err error)

func (*GitSetupRequest) MarshalTo

func (m *GitSetupRequest) MarshalTo(dAtA []byte) (int, error)

func (*GitSetupRequest) MarshalToSizedBuffer

func (m *GitSetupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitSetupRequest) ProtoMessage

func (*GitSetupRequest) ProtoMessage()

func (*GitSetupRequest) Reset

func (m *GitSetupRequest) Reset()

func (*GitSetupRequest) Size

func (m *GitSetupRequest) Size() (n int)

func (*GitSetupRequest) String

func (m *GitSetupRequest) String() string

func (*GitSetupRequest) Unmarshal

func (m *GitSetupRequest) Unmarshal(dAtA []byte) error

func (*GitSetupRequest) XXX_DiscardUnknown

func (m *GitSetupRequest) XXX_DiscardUnknown()

func (*GitSetupRequest) XXX_Marshal

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

func (*GitSetupRequest) XXX_Merge

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

func (*GitSetupRequest) XXX_Size

func (m *GitSetupRequest) XXX_Size() int

func (*GitSetupRequest) XXX_Unmarshal

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

type GitSetupResponse

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

func (*GitSetupResponse) Descriptor

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

func (*GitSetupResponse) GoString

func (this *GitSetupResponse) GoString() string

func (*GitSetupResponse) Marshal

func (m *GitSetupResponse) Marshal() (dAtA []byte, err error)

func (*GitSetupResponse) MarshalTo

func (m *GitSetupResponse) MarshalTo(dAtA []byte) (int, error)

func (*GitSetupResponse) MarshalToSizedBuffer

func (m *GitSetupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitSetupResponse) ProtoMessage

func (*GitSetupResponse) ProtoMessage()

func (*GitSetupResponse) Reset

func (m *GitSetupResponse) Reset()

func (*GitSetupResponse) Size

func (m *GitSetupResponse) Size() (n int)

func (*GitSetupResponse) String

func (m *GitSetupResponse) String() string

func (*GitSetupResponse) Unmarshal

func (m *GitSetupResponse) Unmarshal(dAtA []byte) error

func (*GitSetupResponse) XXX_DiscardUnknown

func (m *GitSetupResponse) XXX_DiscardUnknown()

func (*GitSetupResponse) XXX_Marshal

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

func (*GitSetupResponse) XXX_Merge

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

func (*GitSetupResponse) XXX_Size

func (m *GitSetupResponse) XXX_Size() int

func (*GitSetupResponse) XXX_Unmarshal

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

type Item

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

func (*Item) Descriptor

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

func (*Item) GoString

func (this *Item) GoString() string

func (*Item) Marshal

func (m *Item) Marshal() (dAtA []byte, err error)

func (*Item) MarshalTo

func (m *Item) MarshalTo(dAtA []byte) (int, error)

func (*Item) MarshalToSizedBuffer

func (m *Item) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) Size

func (m *Item) Size() (n int)

func (*Item) String

func (m *Item) String() string

func (*Item) Unmarshal

func (m *Item) Unmarshal(dAtA []byte) error

func (*Item) XXX_DiscardUnknown

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal

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

func (*Item) XXX_Merge

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

func (*Item) XXX_Size

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal

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

type ItemRequest

type ItemRequest 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 (*ItemRequest) Descriptor

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

func (*ItemRequest) GoString

func (this *ItemRequest) GoString() string

func (*ItemRequest) Marshal

func (m *ItemRequest) Marshal() (dAtA []byte, err error)

func (*ItemRequest) MarshalTo

func (m *ItemRequest) MarshalTo(dAtA []byte) (int, error)

func (*ItemRequest) MarshalToSizedBuffer

func (m *ItemRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ItemRequest) ProtoMessage

func (*ItemRequest) ProtoMessage()

func (*ItemRequest) Reset

func (m *ItemRequest) Reset()

func (*ItemRequest) Size

func (m *ItemRequest) Size() (n int)

func (*ItemRequest) String

func (m *ItemRequest) String() string

func (*ItemRequest) Unmarshal

func (m *ItemRequest) Unmarshal(dAtA []byte) error

func (*ItemRequest) XXX_DiscardUnknown

func (m *ItemRequest) XXX_DiscardUnknown()

func (*ItemRequest) XXX_Marshal

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

func (*ItemRequest) XXX_Merge

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

func (*ItemRequest) XXX_Size

func (m *ItemRequest) XXX_Size() int

func (*ItemRequest) XXX_Unmarshal

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

type ItemResponse

type ItemResponse struct {
	Item                 *Item    `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ItemResponse) Descriptor

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

func (*ItemResponse) GoString

func (this *ItemResponse) GoString() string

func (*ItemResponse) Marshal

func (m *ItemResponse) Marshal() (dAtA []byte, err error)

func (*ItemResponse) MarshalTo

func (m *ItemResponse) MarshalTo(dAtA []byte) (int, error)

func (*ItemResponse) MarshalToSizedBuffer

func (m *ItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ItemResponse) ProtoMessage

func (*ItemResponse) ProtoMessage()

func (*ItemResponse) Reset

func (m *ItemResponse) Reset()

func (*ItemResponse) Size

func (m *ItemResponse) Size() (n int)

func (*ItemResponse) String

func (m *ItemResponse) String() string

func (*ItemResponse) Unmarshal

func (m *ItemResponse) Unmarshal(dAtA []byte) error

func (*ItemResponse) XXX_DiscardUnknown

func (m *ItemResponse) XXX_DiscardUnknown()

func (*ItemResponse) XXX_Marshal

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

func (*ItemResponse) XXX_Merge

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

func (*ItemResponse) XXX_Size

func (m *ItemResponse) XXX_Size() int

func (*ItemResponse) XXX_Unmarshal

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

type ItemsRequest

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

func (*ItemsRequest) Descriptor

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

func (*ItemsRequest) GoString

func (this *ItemsRequest) GoString() string

func (*ItemsRequest) Marshal

func (m *ItemsRequest) Marshal() (dAtA []byte, err error)

func (*ItemsRequest) MarshalTo

func (m *ItemsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ItemsRequest) MarshalToSizedBuffer

func (m *ItemsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ItemsRequest) ProtoMessage

func (*ItemsRequest) ProtoMessage()

func (*ItemsRequest) Reset

func (m *ItemsRequest) Reset()

func (*ItemsRequest) Size

func (m *ItemsRequest) Size() (n int)

func (*ItemsRequest) String

func (m *ItemsRequest) String() string

func (*ItemsRequest) Unmarshal

func (m *ItemsRequest) Unmarshal(dAtA []byte) error

func (*ItemsRequest) XXX_DiscardUnknown

func (m *ItemsRequest) XXX_DiscardUnknown()

func (*ItemsRequest) XXX_Marshal

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

func (*ItemsRequest) XXX_Merge

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

func (*ItemsRequest) XXX_Size

func (m *ItemsRequest) XXX_Size() int

func (*ItemsRequest) XXX_Unmarshal

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

type ItemsResponse

type ItemsResponse struct {
	Items                []*Item  `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ItemsResponse) Descriptor

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

func (*ItemsResponse) GoString

func (this *ItemsResponse) GoString() string

func (*ItemsResponse) Marshal

func (m *ItemsResponse) Marshal() (dAtA []byte, err error)

func (*ItemsResponse) MarshalTo

func (m *ItemsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ItemsResponse) MarshalToSizedBuffer

func (m *ItemsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ItemsResponse) ProtoMessage

func (*ItemsResponse) ProtoMessage()

func (*ItemsResponse) Reset

func (m *ItemsResponse) Reset()

func (*ItemsResponse) Size

func (m *ItemsResponse) Size() (n int)

func (*ItemsResponse) String

func (m *ItemsResponse) String() string

func (*ItemsResponse) Unmarshal

func (m *ItemsResponse) Unmarshal(dAtA []byte) error

func (*ItemsResponse) XXX_DiscardUnknown

func (m *ItemsResponse) XXX_DiscardUnknown()

func (*ItemsResponse) XXX_Marshal

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

func (*ItemsResponse) XXX_Merge

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

func (*ItemsResponse) XXX_Size

func (m *ItemsResponse) XXX_Size() int

func (*ItemsResponse) XXX_Unmarshal

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

type Key

type Key struct {
	// ID identifier.
	ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Type of key.
	Type KeyType `protobuf:"varint,3,opt,name=type,proto3,enum=service.KeyType" json:"type,omitempty"`
	// User associated with this key.
	User *User `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	// Saved if saved locally.
	Saved bool `protobuf:"varint,10,opt,name=saved,proto3" json:"saved,omitempty"`
	// SigchainLength is length of sigchain (if any).
	SigchainLength       int32    `protobuf:"varint,40,opt,name=sigchainLength,proto3" json:"sigchainLength,omitempty"`
	SigchainUpdatedAt    int64    `protobuf:"varint,41,opt,name=sigchainUpdatedAt,proto3" json:"sigchainUpdatedAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Key) Descriptor

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

func (*Key) GoString

func (this *Key) GoString() string

func (*Key) Marshal

func (m *Key) Marshal() (dAtA []byte, err error)

func (*Key) MarshalTo

func (m *Key) MarshalTo(dAtA []byte) (int, error)

func (*Key) MarshalToSizedBuffer

func (m *Key) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) Size

func (m *Key) Size() (n int)

func (*Key) String

func (m *Key) String() string

func (*Key) Unmarshal

func (m *Key) Unmarshal(dAtA []byte) error

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

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

func (*Key) XXX_Merge

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

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

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

type KeyExportRequest

type KeyExportRequest struct {
	KID                  string     `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	Password             string     `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Type                 ExportType `protobuf:"varint,3,opt,name=type,proto3,enum=service.ExportType" json:"type,omitempty"`
	Public               bool       `protobuf:"varint,4,opt,name=public,proto3" json:"public,omitempty"`
	NoPassword           bool       `protobuf:"varint,5,opt,name=noPassword,proto3" json:"noPassword,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*KeyExportRequest) Descriptor

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

func (*KeyExportRequest) GoString

func (this *KeyExportRequest) GoString() string

func (*KeyExportRequest) Marshal

func (m *KeyExportRequest) Marshal() (dAtA []byte, err error)

func (*KeyExportRequest) MarshalTo

func (m *KeyExportRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeyExportRequest) MarshalToSizedBuffer

func (m *KeyExportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyExportRequest) ProtoMessage

func (*KeyExportRequest) ProtoMessage()

func (*KeyExportRequest) Reset

func (m *KeyExportRequest) Reset()

func (*KeyExportRequest) Size

func (m *KeyExportRequest) Size() (n int)

func (*KeyExportRequest) String

func (m *KeyExportRequest) String() string

func (*KeyExportRequest) Unmarshal

func (m *KeyExportRequest) Unmarshal(dAtA []byte) error

func (*KeyExportRequest) XXX_DiscardUnknown

func (m *KeyExportRequest) XXX_DiscardUnknown()

func (*KeyExportRequest) XXX_Marshal

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

func (*KeyExportRequest) XXX_Merge

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

func (*KeyExportRequest) XXX_Size

func (m *KeyExportRequest) XXX_Size() int

func (*KeyExportRequest) XXX_Unmarshal

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

type KeyExportResponse

type KeyExportResponse struct {
	Export               []byte   `protobuf:"bytes,1,opt,name=export,proto3" json:"export,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyExportResponse) Descriptor

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

func (*KeyExportResponse) GoString

func (this *KeyExportResponse) GoString() string

func (*KeyExportResponse) Marshal

func (m *KeyExportResponse) Marshal() (dAtA []byte, err error)

func (*KeyExportResponse) MarshalTo

func (m *KeyExportResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeyExportResponse) MarshalToSizedBuffer

func (m *KeyExportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyExportResponse) ProtoMessage

func (*KeyExportResponse) ProtoMessage()

func (*KeyExportResponse) Reset

func (m *KeyExportResponse) Reset()

func (*KeyExportResponse) Size

func (m *KeyExportResponse) Size() (n int)

func (*KeyExportResponse) String

func (m *KeyExportResponse) String() string

func (*KeyExportResponse) Unmarshal

func (m *KeyExportResponse) Unmarshal(dAtA []byte) error

func (*KeyExportResponse) XXX_DiscardUnknown

func (m *KeyExportResponse) XXX_DiscardUnknown()

func (*KeyExportResponse) XXX_Marshal

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

func (*KeyExportResponse) XXX_Merge

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

func (*KeyExportResponse) XXX_Size

func (m *KeyExportResponse) XXX_Size() int

func (*KeyExportResponse) XXX_Unmarshal

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

type KeyGenerateRequest

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

func (*KeyGenerateRequest) Descriptor

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

func (*KeyGenerateRequest) GoString

func (this *KeyGenerateRequest) GoString() string

func (*KeyGenerateRequest) Marshal

func (m *KeyGenerateRequest) Marshal() (dAtA []byte, err error)

func (*KeyGenerateRequest) MarshalTo

func (m *KeyGenerateRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeyGenerateRequest) MarshalToSizedBuffer

func (m *KeyGenerateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyGenerateRequest) ProtoMessage

func (*KeyGenerateRequest) ProtoMessage()

func (*KeyGenerateRequest) Reset

func (m *KeyGenerateRequest) Reset()

func (*KeyGenerateRequest) Size

func (m *KeyGenerateRequest) Size() (n int)

func (*KeyGenerateRequest) String

func (m *KeyGenerateRequest) String() string

func (*KeyGenerateRequest) Unmarshal

func (m *KeyGenerateRequest) Unmarshal(dAtA []byte) error

func (*KeyGenerateRequest) XXX_DiscardUnknown

func (m *KeyGenerateRequest) XXX_DiscardUnknown()

func (*KeyGenerateRequest) XXX_Marshal

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

func (*KeyGenerateRequest) XXX_Merge

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

func (*KeyGenerateRequest) XXX_Size

func (m *KeyGenerateRequest) XXX_Size() int

func (*KeyGenerateRequest) XXX_Unmarshal

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

type KeyGenerateResponse

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

func (*KeyGenerateResponse) Descriptor

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

func (*KeyGenerateResponse) GoString

func (this *KeyGenerateResponse) GoString() string

func (*KeyGenerateResponse) Marshal

func (m *KeyGenerateResponse) Marshal() (dAtA []byte, err error)

func (*KeyGenerateResponse) MarshalTo

func (m *KeyGenerateResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeyGenerateResponse) MarshalToSizedBuffer

func (m *KeyGenerateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyGenerateResponse) ProtoMessage

func (*KeyGenerateResponse) ProtoMessage()

func (*KeyGenerateResponse) Reset

func (m *KeyGenerateResponse) Reset()

func (*KeyGenerateResponse) Size

func (m *KeyGenerateResponse) Size() (n int)

func (*KeyGenerateResponse) String

func (m *KeyGenerateResponse) String() string

func (*KeyGenerateResponse) Unmarshal

func (m *KeyGenerateResponse) Unmarshal(dAtA []byte) error

func (*KeyGenerateResponse) XXX_DiscardUnknown

func (m *KeyGenerateResponse) XXX_DiscardUnknown()

func (*KeyGenerateResponse) XXX_Marshal

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

func (*KeyGenerateResponse) XXX_Merge

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

func (*KeyGenerateResponse) XXX_Size

func (m *KeyGenerateResponse) XXX_Size() int

func (*KeyGenerateResponse) XXX_Unmarshal

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

type KeyImportRequest

type KeyImportRequest struct {
	In                   []byte   `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyImportRequest) Descriptor

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

func (*KeyImportRequest) GoString

func (this *KeyImportRequest) GoString() string

func (*KeyImportRequest) Marshal

func (m *KeyImportRequest) Marshal() (dAtA []byte, err error)

func (*KeyImportRequest) MarshalTo

func (m *KeyImportRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeyImportRequest) MarshalToSizedBuffer

func (m *KeyImportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyImportRequest) ProtoMessage

func (*KeyImportRequest) ProtoMessage()

func (*KeyImportRequest) Reset

func (m *KeyImportRequest) Reset()

func (*KeyImportRequest) Size

func (m *KeyImportRequest) Size() (n int)

func (*KeyImportRequest) String

func (m *KeyImportRequest) String() string

func (*KeyImportRequest) Unmarshal

func (m *KeyImportRequest) Unmarshal(dAtA []byte) error

func (*KeyImportRequest) XXX_DiscardUnknown

func (m *KeyImportRequest) XXX_DiscardUnknown()

func (*KeyImportRequest) XXX_Marshal

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

func (*KeyImportRequest) XXX_Merge

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

func (*KeyImportRequest) XXX_Size

func (m *KeyImportRequest) XXX_Size() int

func (*KeyImportRequest) XXX_Unmarshal

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

type KeyImportResponse

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

func (*KeyImportResponse) Descriptor

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

func (*KeyImportResponse) GoString

func (this *KeyImportResponse) GoString() string

func (*KeyImportResponse) Marshal

func (m *KeyImportResponse) Marshal() (dAtA []byte, err error)

func (*KeyImportResponse) MarshalTo

func (m *KeyImportResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeyImportResponse) MarshalToSizedBuffer

func (m *KeyImportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyImportResponse) ProtoMessage

func (*KeyImportResponse) ProtoMessage()

func (*KeyImportResponse) Reset

func (m *KeyImportResponse) Reset()

func (*KeyImportResponse) Size

func (m *KeyImportResponse) Size() (n int)

func (*KeyImportResponse) String

func (m *KeyImportResponse) String() string

func (*KeyImportResponse) Unmarshal

func (m *KeyImportResponse) Unmarshal(dAtA []byte) error

func (*KeyImportResponse) XXX_DiscardUnknown

func (m *KeyImportResponse) XXX_DiscardUnknown()

func (*KeyImportResponse) XXX_Marshal

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

func (*KeyImportResponse) XXX_Merge

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

func (*KeyImportResponse) XXX_Size

func (m *KeyImportResponse) XXX_Size() int

func (*KeyImportResponse) XXX_Unmarshal

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

type KeyRemoveRequest

type KeyRemoveRequest struct {
	// KID of key to remove.
	KID                  string   `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyRemoveRequest) Descriptor

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

func (*KeyRemoveRequest) GoString

func (this *KeyRemoveRequest) GoString() string

func (*KeyRemoveRequest) Marshal

func (m *KeyRemoveRequest) Marshal() (dAtA []byte, err error)

func (*KeyRemoveRequest) MarshalTo

func (m *KeyRemoveRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeyRemoveRequest) MarshalToSizedBuffer

func (m *KeyRemoveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyRemoveRequest) ProtoMessage

func (*KeyRemoveRequest) ProtoMessage()

func (*KeyRemoveRequest) Reset

func (m *KeyRemoveRequest) Reset()

func (*KeyRemoveRequest) Size

func (m *KeyRemoveRequest) Size() (n int)

func (*KeyRemoveRequest) String

func (m *KeyRemoveRequest) String() string

func (*KeyRemoveRequest) Unmarshal

func (m *KeyRemoveRequest) Unmarshal(dAtA []byte) error

func (*KeyRemoveRequest) XXX_DiscardUnknown

func (m *KeyRemoveRequest) XXX_DiscardUnknown()

func (*KeyRemoveRequest) XXX_Marshal

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

func (*KeyRemoveRequest) XXX_Merge

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

func (*KeyRemoveRequest) XXX_Size

func (m *KeyRemoveRequest) XXX_Size() int

func (*KeyRemoveRequest) XXX_Unmarshal

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

type KeyRemoveResponse

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

func (*KeyRemoveResponse) Descriptor

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

func (*KeyRemoveResponse) GoString

func (this *KeyRemoveResponse) GoString() string

func (*KeyRemoveResponse) Marshal

func (m *KeyRemoveResponse) Marshal() (dAtA []byte, err error)

func (*KeyRemoveResponse) MarshalTo

func (m *KeyRemoveResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeyRemoveResponse) MarshalToSizedBuffer

func (m *KeyRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyRemoveResponse) ProtoMessage

func (*KeyRemoveResponse) ProtoMessage()

func (*KeyRemoveResponse) Reset

func (m *KeyRemoveResponse) Reset()

func (*KeyRemoveResponse) Size

func (m *KeyRemoveResponse) Size() (n int)

func (*KeyRemoveResponse) String

func (m *KeyRemoveResponse) String() string

func (*KeyRemoveResponse) Unmarshal

func (m *KeyRemoveResponse) Unmarshal(dAtA []byte) error

func (*KeyRemoveResponse) XXX_DiscardUnknown

func (m *KeyRemoveResponse) XXX_DiscardUnknown()

func (*KeyRemoveResponse) XXX_Marshal

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

func (*KeyRemoveResponse) XXX_Merge

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

func (*KeyRemoveResponse) XXX_Size

func (m *KeyRemoveResponse) XXX_Size() int

func (*KeyRemoveResponse) XXX_Unmarshal

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

type KeyRequest

type KeyRequest struct {
	Identity             string   `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Update               bool     `protobuf:"varint,5,opt,name=update,proto3" json:"update,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyRequest) Descriptor

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

func (*KeyRequest) GoString

func (this *KeyRequest) GoString() string

func (*KeyRequest) Marshal

func (m *KeyRequest) Marshal() (dAtA []byte, err error)

func (*KeyRequest) MarshalTo

func (m *KeyRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeyRequest) MarshalToSizedBuffer

func (m *KeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyRequest) ProtoMessage

func (*KeyRequest) ProtoMessage()

func (*KeyRequest) Reset

func (m *KeyRequest) Reset()

func (*KeyRequest) Size

func (m *KeyRequest) Size() (n int)

func (*KeyRequest) String

func (m *KeyRequest) String() string

func (*KeyRequest) Unmarshal

func (m *KeyRequest) Unmarshal(dAtA []byte) error

func (*KeyRequest) XXX_DiscardUnknown

func (m *KeyRequest) XXX_DiscardUnknown()

func (*KeyRequest) XXX_Marshal

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

func (*KeyRequest) XXX_Merge

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

func (*KeyRequest) XXX_Size

func (m *KeyRequest) XXX_Size() int

func (*KeyRequest) XXX_Unmarshal

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

type KeyResponse

type KeyResponse struct {
	Key                  *Key     `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyResponse) Descriptor

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

func (*KeyResponse) GoString

func (this *KeyResponse) GoString() string

func (*KeyResponse) Marshal

func (m *KeyResponse) Marshal() (dAtA []byte, err error)

func (*KeyResponse) MarshalTo

func (m *KeyResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeyResponse) MarshalToSizedBuffer

func (m *KeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyResponse) ProtoMessage

func (*KeyResponse) ProtoMessage()

func (*KeyResponse) Reset

func (m *KeyResponse) Reset()

func (*KeyResponse) Size

func (m *KeyResponse) Size() (n int)

func (*KeyResponse) String

func (m *KeyResponse) String() string

func (*KeyResponse) Unmarshal

func (m *KeyResponse) Unmarshal(dAtA []byte) error

func (*KeyResponse) XXX_DiscardUnknown

func (m *KeyResponse) XXX_DiscardUnknown()

func (*KeyResponse) XXX_Marshal

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

func (*KeyResponse) XXX_Merge

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

func (*KeyResponse) XXX_Size

func (m *KeyResponse) XXX_Size() int

func (*KeyResponse) XXX_Unmarshal

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

type KeyType

type KeyType int32
const (
	UnknownKeyType KeyType = 0
	EdX25519       KeyType = 10
	EdX25519Public KeyType = 11
	X25519         KeyType = 20
	X25519Public   KeyType = 21
)

func (KeyType) EnumDescriptor

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

func (KeyType) String

func (x KeyType) String() string

type KeysClient

type KeysClient interface {
	KeyGenerate(ctx context.Context, in *KeyGenerateRequest, opts ...grpc.CallOption) (*KeyGenerateResponse, error)
	Keys(ctx context.Context, in *KeysRequest, opts ...grpc.CallOption) (*KeysResponse, error)
	Key(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*KeyResponse, error)
	KeyImport(ctx context.Context, in *KeyImportRequest, opts ...grpc.CallOption) (*KeyImportResponse, error)
	KeyExport(ctx context.Context, in *KeyExportRequest, opts ...grpc.CallOption) (*KeyExportResponse, error)
	KeyRemove(ctx context.Context, in *KeyRemoveRequest, opts ...grpc.CallOption) (*KeyRemoveResponse, error)
	Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
	SignFile(ctx context.Context, opts ...grpc.CallOption) (Keys_SignFileClient, error)
	SignStream(ctx context.Context, opts ...grpc.CallOption) (Keys_SignStreamClient, error)
	Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
	VerifyFile(ctx context.Context, opts ...grpc.CallOption) (Keys_VerifyFileClient, error)
	VerifyStream(ctx context.Context, opts ...grpc.CallOption) (Keys_VerifyStreamClient, error)
	VerifyArmoredStream(ctx context.Context, opts ...grpc.CallOption) (Keys_VerifyArmoredStreamClient, error)
	VerifyDetached(ctx context.Context, in *VerifyDetachedRequest, opts ...grpc.CallOption) (*VerifyDetachedResponse, error)
	VerifyDetachedFile(ctx context.Context, opts ...grpc.CallOption) (Keys_VerifyDetachedFileClient, error)
	VerifyDetachedStream(ctx context.Context, opts ...grpc.CallOption) (Keys_VerifyDetachedStreamClient, error)
	Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error)
	EncryptStream(ctx context.Context, opts ...grpc.CallOption) (Keys_EncryptStreamClient, error)
	EncryptFile(ctx context.Context, opts ...grpc.CallOption) (Keys_EncryptFileClient, error)
	Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error)
	DecryptFile(ctx context.Context, opts ...grpc.CallOption) (Keys_DecryptFileClient, error)
	DecryptStream(ctx context.Context, opts ...grpc.CallOption) (Keys_DecryptStreamClient, error)
	DecryptArmoredStream(ctx context.Context, opts ...grpc.CallOption) (Keys_DecryptArmoredStreamClient, error)
	SigncryptOpenStream(ctx context.Context, opts ...grpc.CallOption) (Keys_SigncryptOpenStreamClient, error)
	SigncryptOpenArmoredStream(ctx context.Context, opts ...grpc.CallOption) (Keys_SigncryptOpenArmoredStreamClient, error)
	Sigchain(ctx context.Context, in *SigchainRequest, opts ...grpc.CallOption) (*SigchainResponse, error)
	Statement(ctx context.Context, in *StatementRequest, opts ...grpc.CallOption) (*StatementResponse, error)
	StatementCreate(ctx context.Context, in *StatementCreateRequest, opts ...grpc.CallOption) (*StatementCreateResponse, error)
	StatementRevoke(ctx context.Context, in *StatementRevokeRequest, opts ...grpc.CallOption) (*StatementRevokeResponse, error)
	User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
	UserSearch(ctx context.Context, in *UserSearchRequest, opts ...grpc.CallOption) (*UserSearchResponse, error)
	UserService(ctx context.Context, in *UserServiceRequest, opts ...grpc.CallOption) (*UserServiceResponse, error)
	UserSign(ctx context.Context, in *UserSignRequest, opts ...grpc.CallOption) (*UserSignResponse, error)
	UserAdd(ctx context.Context, in *UserAddRequest, opts ...grpc.CallOption) (*UserAddResponse, error)
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	Secret(ctx context.Context, in *SecretRequest, opts ...grpc.CallOption) (*SecretResponse, error)
	SecretSave(ctx context.Context, in *SecretSaveRequest, opts ...grpc.CallOption) (*SecretSaveResponse, error)
	SecretRemove(ctx context.Context, in *SecretRemoveRequest, opts ...grpc.CallOption) (*SecretRemoveResponse, error)
	Secrets(ctx context.Context, in *SecretsRequest, opts ...grpc.CallOption) (*SecretsResponse, error)
	Item(ctx context.Context, in *ItemRequest, opts ...grpc.CallOption) (*ItemResponse, error)
	Items(ctx context.Context, in *ItemsRequest, opts ...grpc.CallOption) (*ItemsResponse, error)
	Pull(ctx context.Context, in *PullRequest, opts ...grpc.CallOption) (*PullResponse, error)
	Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*PushResponse, error)
	Wormhole(ctx context.Context, opts ...grpc.CallOption) (Keys_WormholeClient, error)
	Preferences(ctx context.Context, in *PreferencesRequest, opts ...grpc.CallOption) (*PreferencesResponse, error)
	PreferenceSet(ctx context.Context, in *PreferenceSetRequest, opts ...grpc.CallOption) (*PreferenceSetResponse, error)
	// These requests do not need auth.
	// BEGIN NO AUTH
	AuthSetup(ctx context.Context, in *AuthSetupRequest, opts ...grpc.CallOption) (*AuthSetupResponse, error)
	AuthUnlock(ctx context.Context, in *AuthUnlockRequest, opts ...grpc.CallOption) (*AuthUnlockResponse, error)
	AuthLock(ctx context.Context, in *AuthLockRequest, opts ...grpc.CallOption) (*AuthLockResponse, error)
	RuntimeStatus(ctx context.Context, in *RuntimeStatusRequest, opts ...grpc.CallOption) (*RuntimeStatusResponse, error)
	Rand(ctx context.Context, in *RandRequest, opts ...grpc.CallOption) (*RandResponse, error)
	RandPassword(ctx context.Context, in *RandPasswordRequest, opts ...grpc.CallOption) (*RandPasswordResponse, error)
	GitSetup(ctx context.Context, in *GitSetupRequest, opts ...grpc.CallOption) (*GitSetupResponse, error)
	Collections(ctx context.Context, in *CollectionsRequest, opts ...grpc.CallOption) (*CollectionsResponse, error)
	Documents(ctx context.Context, in *DocumentsRequest, opts ...grpc.CallOption) (*DocumentsResponse, error)
	DocumentDelete(ctx context.Context, in *DocumentDeleteRequest, opts ...grpc.CallOption) (*DocumentDeleteResponse, error)
	// Admin
	AdminSignURL(ctx context.Context, in *AdminSignURLRequest, opts ...grpc.CallOption) (*AdminSignURLResponse, error)
	AdminCheck(ctx context.Context, in *AdminCheckRequest, opts ...grpc.CallOption) (*AdminCheckResponse, error)
	// Experimental
	MessagePrepare(ctx context.Context, in *MessagePrepareRequest, opts ...grpc.CallOption) (*MessagePrepareResponse, error)
	MessageCreate(ctx context.Context, in *MessageCreateRequest, opts ...grpc.CallOption) (*MessageCreateResponse, error)
	Messages(ctx context.Context, in *MessagesRequest, opts ...grpc.CallOption) (*MessagesResponse, error)
}

KeysClient is the client API for Keys service.

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

func NewKeysClient

func NewKeysClient(cc *grpc.ClientConn) KeysClient

type KeysRequest

type KeysRequest struct {
	Query                string        `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Types                []KeyType     `protobuf:"varint,2,rep,packed,name=types,proto3,enum=service.KeyType" json:"types,omitempty"`
	SortField            string        `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"`
	SortDirection        SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*KeysRequest) Descriptor

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

func (*KeysRequest) GoString

func (this *KeysRequest) GoString() string

func (*KeysRequest) Marshal

func (m *KeysRequest) Marshal() (dAtA []byte, err error)

func (*KeysRequest) MarshalTo

func (m *KeysRequest) MarshalTo(dAtA []byte) (int, error)

func (*KeysRequest) MarshalToSizedBuffer

func (m *KeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeysRequest) ProtoMessage

func (*KeysRequest) ProtoMessage()

func (*KeysRequest) Reset

func (m *KeysRequest) Reset()

func (*KeysRequest) Size

func (m *KeysRequest) Size() (n int)

func (*KeysRequest) String

func (m *KeysRequest) String() string

func (*KeysRequest) Unmarshal

func (m *KeysRequest) Unmarshal(dAtA []byte) error

func (*KeysRequest) XXX_DiscardUnknown

func (m *KeysRequest) XXX_DiscardUnknown()

func (*KeysRequest) XXX_Marshal

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

func (*KeysRequest) XXX_Merge

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

func (*KeysRequest) XXX_Size

func (m *KeysRequest) XXX_Size() int

func (*KeysRequest) XXX_Unmarshal

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

type KeysResponse

type KeysResponse struct {
	Keys                 []*Key        `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	SortField            string        `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"`
	SortDirection        SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*KeysResponse) Descriptor

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

func (*KeysResponse) GoString

func (this *KeysResponse) GoString() string

func (*KeysResponse) Marshal

func (m *KeysResponse) Marshal() (dAtA []byte, err error)

func (*KeysResponse) MarshalTo

func (m *KeysResponse) MarshalTo(dAtA []byte) (int, error)

func (*KeysResponse) MarshalToSizedBuffer

func (m *KeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeysResponse) ProtoMessage

func (*KeysResponse) ProtoMessage()

func (*KeysResponse) Reset

func (m *KeysResponse) Reset()

func (*KeysResponse) Size

func (m *KeysResponse) Size() (n int)

func (*KeysResponse) String

func (m *KeysResponse) String() string

func (*KeysResponse) Unmarshal

func (m *KeysResponse) Unmarshal(dAtA []byte) error

func (*KeysResponse) XXX_DiscardUnknown

func (m *KeysResponse) XXX_DiscardUnknown()

func (*KeysResponse) XXX_Marshal

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

func (*KeysResponse) XXX_Merge

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

func (*KeysResponse) XXX_Size

func (m *KeysResponse) XXX_Size() int

func (*KeysResponse) XXX_Unmarshal

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

type KeysServer

type KeysServer interface {
	KeyGenerate(context.Context, *KeyGenerateRequest) (*KeyGenerateResponse, error)
	Keys(context.Context, *KeysRequest) (*KeysResponse, error)
	Key(context.Context, *KeyRequest) (*KeyResponse, error)
	KeyImport(context.Context, *KeyImportRequest) (*KeyImportResponse, error)
	KeyExport(context.Context, *KeyExportRequest) (*KeyExportResponse, error)
	KeyRemove(context.Context, *KeyRemoveRequest) (*KeyRemoveResponse, error)
	Sign(context.Context, *SignRequest) (*SignResponse, error)
	SignFile(Keys_SignFileServer) error
	SignStream(Keys_SignStreamServer) error
	Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
	VerifyFile(Keys_VerifyFileServer) error
	VerifyStream(Keys_VerifyStreamServer) error
	VerifyArmoredStream(Keys_VerifyArmoredStreamServer) error
	VerifyDetached(context.Context, *VerifyDetachedRequest) (*VerifyDetachedResponse, error)
	VerifyDetachedFile(Keys_VerifyDetachedFileServer) error
	VerifyDetachedStream(Keys_VerifyDetachedStreamServer) error
	Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error)
	EncryptStream(Keys_EncryptStreamServer) error
	EncryptFile(Keys_EncryptFileServer) error
	Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error)
	DecryptFile(Keys_DecryptFileServer) error
	DecryptStream(Keys_DecryptStreamServer) error
	DecryptArmoredStream(Keys_DecryptArmoredStreamServer) error
	SigncryptOpenStream(Keys_SigncryptOpenStreamServer) error
	SigncryptOpenArmoredStream(Keys_SigncryptOpenArmoredStreamServer) error
	Sigchain(context.Context, *SigchainRequest) (*SigchainResponse, error)
	Statement(context.Context, *StatementRequest) (*StatementResponse, error)
	StatementCreate(context.Context, *StatementCreateRequest) (*StatementCreateResponse, error)
	StatementRevoke(context.Context, *StatementRevokeRequest) (*StatementRevokeResponse, error)
	User(context.Context, *UserRequest) (*UserResponse, error)
	UserSearch(context.Context, *UserSearchRequest) (*UserSearchResponse, error)
	UserService(context.Context, *UserServiceRequest) (*UserServiceResponse, error)
	UserSign(context.Context, *UserSignRequest) (*UserSignResponse, error)
	UserAdd(context.Context, *UserAddRequest) (*UserAddResponse, error)
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
	Secret(context.Context, *SecretRequest) (*SecretResponse, error)
	SecretSave(context.Context, *SecretSaveRequest) (*SecretSaveResponse, error)
	SecretRemove(context.Context, *SecretRemoveRequest) (*SecretRemoveResponse, error)
	Secrets(context.Context, *SecretsRequest) (*SecretsResponse, error)
	Item(context.Context, *ItemRequest) (*ItemResponse, error)
	Items(context.Context, *ItemsRequest) (*ItemsResponse, error)
	Pull(context.Context, *PullRequest) (*PullResponse, error)
	Push(context.Context, *PushRequest) (*PushResponse, error)
	Wormhole(Keys_WormholeServer) error
	Preferences(context.Context, *PreferencesRequest) (*PreferencesResponse, error)
	PreferenceSet(context.Context, *PreferenceSetRequest) (*PreferenceSetResponse, error)
	// These requests do not need auth.
	// BEGIN NO AUTH
	AuthSetup(context.Context, *AuthSetupRequest) (*AuthSetupResponse, error)
	AuthUnlock(context.Context, *AuthUnlockRequest) (*AuthUnlockResponse, error)
	AuthLock(context.Context, *AuthLockRequest) (*AuthLockResponse, error)
	RuntimeStatus(context.Context, *RuntimeStatusRequest) (*RuntimeStatusResponse, error)
	Rand(context.Context, *RandRequest) (*RandResponse, error)
	RandPassword(context.Context, *RandPasswordRequest) (*RandPasswordResponse, error)
	GitSetup(context.Context, *GitSetupRequest) (*GitSetupResponse, error)
	Collections(context.Context, *CollectionsRequest) (*CollectionsResponse, error)
	Documents(context.Context, *DocumentsRequest) (*DocumentsResponse, error)
	DocumentDelete(context.Context, *DocumentDeleteRequest) (*DocumentDeleteResponse, error)
	// Admin
	AdminSignURL(context.Context, *AdminSignURLRequest) (*AdminSignURLResponse, error)
	AdminCheck(context.Context, *AdminCheckRequest) (*AdminCheckResponse, error)
	// Experimental
	MessagePrepare(context.Context, *MessagePrepareRequest) (*MessagePrepareResponse, error)
	MessageCreate(context.Context, *MessageCreateRequest) (*MessageCreateResponse, error)
	Messages(context.Context, *MessagesRequest) (*MessagesResponse, error)
}

KeysServer is the server API for Keys service.

type Keys_DecryptArmoredStreamClient

type Keys_DecryptArmoredStreamClient interface {
	Send(*DecryptInput) error
	Recv() (*DecryptOutput, error)
	grpc.ClientStream
}

type Keys_DecryptArmoredStreamServer

type Keys_DecryptArmoredStreamServer interface {
	Send(*DecryptOutput) error
	Recv() (*DecryptInput, error)
	grpc.ServerStream
}

type Keys_DecryptFileClient

type Keys_DecryptFileClient interface {
	Send(*DecryptFileInput) error
	Recv() (*DecryptFileOutput, error)
	grpc.ClientStream
}

type Keys_DecryptFileServer

type Keys_DecryptFileServer interface {
	Send(*DecryptFileOutput) error
	Recv() (*DecryptFileInput, error)
	grpc.ServerStream
}

type Keys_DecryptStreamClient

type Keys_DecryptStreamClient interface {
	Send(*DecryptInput) error
	Recv() (*DecryptOutput, error)
	grpc.ClientStream
}

type Keys_DecryptStreamServer

type Keys_DecryptStreamServer interface {
	Send(*DecryptOutput) error
	Recv() (*DecryptInput, error)
	grpc.ServerStream
}

type Keys_EncryptFileClient

type Keys_EncryptFileClient interface {
	Send(*EncryptFileInput) error
	Recv() (*EncryptFileOutput, error)
	grpc.ClientStream
}

type Keys_EncryptFileServer

type Keys_EncryptFileServer interface {
	Send(*EncryptFileOutput) error
	Recv() (*EncryptFileInput, error)
	grpc.ServerStream
}

type Keys_EncryptStreamClient

type Keys_EncryptStreamClient interface {
	Send(*EncryptInput) error
	Recv() (*EncryptOutput, error)
	grpc.ClientStream
}

type Keys_EncryptStreamServer

type Keys_EncryptStreamServer interface {
	Send(*EncryptOutput) error
	Recv() (*EncryptInput, error)
	grpc.ServerStream
}

type Keys_SignFileClient

type Keys_SignFileClient interface {
	Send(*SignFileInput) error
	Recv() (*SignFileOutput, error)
	grpc.ClientStream
}

type Keys_SignFileServer

type Keys_SignFileServer interface {
	Send(*SignFileOutput) error
	Recv() (*SignFileInput, error)
	grpc.ServerStream
}

type Keys_SignStreamClient

type Keys_SignStreamClient interface {
	Send(*SignInput) error
	Recv() (*SignOutput, error)
	grpc.ClientStream
}

type Keys_SignStreamServer

type Keys_SignStreamServer interface {
	Send(*SignOutput) error
	Recv() (*SignInput, error)
	grpc.ServerStream
}

type Keys_SigncryptOpenArmoredStreamClient

type Keys_SigncryptOpenArmoredStreamClient interface {
	Send(*DecryptInput) error
	Recv() (*DecryptOutput, error)
	grpc.ClientStream
}

type Keys_SigncryptOpenArmoredStreamServer

type Keys_SigncryptOpenArmoredStreamServer interface {
	Send(*DecryptOutput) error
	Recv() (*DecryptInput, error)
	grpc.ServerStream
}

type Keys_SigncryptOpenStreamClient

type Keys_SigncryptOpenStreamClient interface {
	Send(*DecryptInput) error
	Recv() (*DecryptOutput, error)
	grpc.ClientStream
}

type Keys_SigncryptOpenStreamServer

type Keys_SigncryptOpenStreamServer interface {
	Send(*DecryptOutput) error
	Recv() (*DecryptInput, error)
	grpc.ServerStream
}

type Keys_VerifyArmoredStreamClient

type Keys_VerifyArmoredStreamClient interface {
	Send(*VerifyInput) error
	Recv() (*VerifyOutput, error)
	grpc.ClientStream
}

type Keys_VerifyArmoredStreamServer

type Keys_VerifyArmoredStreamServer interface {
	Send(*VerifyOutput) error
	Recv() (*VerifyInput, error)
	grpc.ServerStream
}

type Keys_VerifyDetachedFileClient

type Keys_VerifyDetachedFileClient interface {
	Send(*VerifyDetachedFileInput) error
	CloseAndRecv() (*VerifyDetachedResponse, error)
	grpc.ClientStream
}

type Keys_VerifyDetachedFileServer

type Keys_VerifyDetachedFileServer interface {
	SendAndClose(*VerifyDetachedResponse) error
	Recv() (*VerifyDetachedFileInput, error)
	grpc.ServerStream
}

type Keys_VerifyDetachedStreamClient

type Keys_VerifyDetachedStreamClient interface {
	Send(*VerifyDetachedInput) error
	CloseAndRecv() (*VerifyDetachedResponse, error)
	grpc.ClientStream
}

type Keys_VerifyDetachedStreamServer

type Keys_VerifyDetachedStreamServer interface {
	SendAndClose(*VerifyDetachedResponse) error
	Recv() (*VerifyDetachedInput, error)
	grpc.ServerStream
}

type Keys_VerifyFileClient

type Keys_VerifyFileClient interface {
	Send(*VerifyFileInput) error
	Recv() (*VerifyFileOutput, error)
	grpc.ClientStream
}

type Keys_VerifyFileServer

type Keys_VerifyFileServer interface {
	Send(*VerifyFileOutput) error
	Recv() (*VerifyFileInput, error)
	grpc.ServerStream
}

type Keys_VerifyStreamClient

type Keys_VerifyStreamClient interface {
	Send(*VerifyInput) error
	Recv() (*VerifyOutput, error)
	grpc.ClientStream
}

type Keys_VerifyStreamServer

type Keys_VerifyStreamServer interface {
	Send(*VerifyOutput) error
	Recv() (*VerifyInput, error)
	grpc.ServerStream
}

type Keys_WormholeClient

type Keys_WormholeClient interface {
	Send(*WormholeInput) error
	Recv() (*WormholeOutput, error)
	grpc.ClientStream
}

type Keys_WormholeServer

type Keys_WormholeServer interface {
	Send(*WormholeOutput) error
	Recv() (*WormholeInput, error)
	grpc.ServerStream
}

type LogInterceptor

type LogInterceptor interface {
	Replace()
	Unary() grpc.UnaryServerInterceptor
	Stream() grpc.StreamServerInterceptor
}

LogInterceptor for gRPC.

func NewLogrusInterceptor

func NewLogrusInterceptor(l *logrus.Logger) LogInterceptor

NewLogrusInterceptor is gRPC interceptor for logrus.

type LogLevel

type LogLevel int

LogLevel ...

const (
	// DebugLevel ...
	DebugLevel LogLevel = 3
	// InfoLevel ...
	InfoLevel LogLevel = 2
	// WarnLevel ...
	WarnLevel LogLevel = 1
	// ErrLevel ...
	ErrLevel LogLevel = 0
)

func (LogLevel) String

func (l LogLevel) String() string

type Logger

type Logger interface {
	Debugf(format string, args ...interface{})
	Infof(format string, args ...interface{})
	Warningf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
	Fatalf(format string, args ...interface{})
}

Logger interface used in this package.

func NewLogger

func NewLogger(lev LogLevel) Logger

NewLogger ...

type Message

type Message struct {
	ID                   string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Sender               *Key        `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient            *Key        `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Type                 MessageType `protobuf:"varint,5,opt,name=type,proto3,enum=service.MessageType" json:"type,omitempty"`
	Content              *Content    `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"`
	CreatedAt            int64       `protobuf:"varint,21,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	TimeDisplay          string      `protobuf:"bytes,31,opt,name=timeDisplay,proto3" json:"timeDisplay,omitempty"`
	DateDisplay          string      `protobuf:"bytes,32,opt,name=dateDisplay,proto3" json:"dateDisplay,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Message) Descriptor

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

func (*Message) GoString

func (this *Message) GoString() string

func (*Message) Marshal

func (m *Message) Marshal() (dAtA []byte, err error)

func (*Message) MarshalTo

func (m *Message) MarshalTo(dAtA []byte) (int, error)

func (*Message) MarshalToSizedBuffer

func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) Size

func (m *Message) Size() (n int)

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

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 (m *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 MessageCreateRequest

type MessageCreateRequest struct {
	Sender               string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Text                 string   `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessageCreateRequest) Descriptor

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

func (*MessageCreateRequest) GoString

func (this *MessageCreateRequest) GoString() string

func (*MessageCreateRequest) Marshal

func (m *MessageCreateRequest) Marshal() (dAtA []byte, err error)

func (*MessageCreateRequest) MarshalTo

func (m *MessageCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*MessageCreateRequest) MarshalToSizedBuffer

func (m *MessageCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageCreateRequest) ProtoMessage

func (*MessageCreateRequest) ProtoMessage()

func (*MessageCreateRequest) Reset

func (m *MessageCreateRequest) Reset()

func (*MessageCreateRequest) Size

func (m *MessageCreateRequest) Size() (n int)

func (*MessageCreateRequest) String

func (m *MessageCreateRequest) String() string

func (*MessageCreateRequest) Unmarshal

func (m *MessageCreateRequest) Unmarshal(dAtA []byte) error

func (*MessageCreateRequest) XXX_DiscardUnknown

func (m *MessageCreateRequest) XXX_DiscardUnknown()

func (*MessageCreateRequest) XXX_Marshal

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

func (*MessageCreateRequest) XXX_Merge

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

func (*MessageCreateRequest) XXX_Size

func (m *MessageCreateRequest) XXX_Size() int

func (*MessageCreateRequest) XXX_Unmarshal

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

type MessageCreateResponse

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

func (*MessageCreateResponse) Descriptor

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

func (*MessageCreateResponse) GoString

func (this *MessageCreateResponse) GoString() string

func (*MessageCreateResponse) Marshal

func (m *MessageCreateResponse) Marshal() (dAtA []byte, err error)

func (*MessageCreateResponse) MarshalTo

func (m *MessageCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MessageCreateResponse) MarshalToSizedBuffer

func (m *MessageCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessageCreateResponse) ProtoMessage

func (*MessageCreateResponse) ProtoMessage()

func (*MessageCreateResponse) Reset

func (m *MessageCreateResponse) Reset()

func (*MessageCreateResponse) Size

func (m *MessageCreateResponse) Size() (n int)

func (*MessageCreateResponse) String

func (m *MessageCreateResponse) String() string

func (*MessageCreateResponse) Unmarshal

func (m *MessageCreateResponse) Unmarshal(dAtA []byte) error

func (*MessageCreateResponse) XXX_DiscardUnknown

func (m *MessageCreateResponse) XXX_DiscardUnknown()

func (*MessageCreateResponse) XXX_Marshal

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

func (*MessageCreateResponse) XXX_Merge

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

func (*MessageCreateResponse) XXX_Size

func (m *MessageCreateResponse) XXX_Size() int

func (*MessageCreateResponse) XXX_Unmarshal

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

type MessagePrepareRequest

type MessagePrepareRequest struct {
	Sender               string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Text                 string   `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessagePrepareRequest) Descriptor

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

func (*MessagePrepareRequest) GoString

func (this *MessagePrepareRequest) GoString() string

func (*MessagePrepareRequest) Marshal

func (m *MessagePrepareRequest) Marshal() (dAtA []byte, err error)

func (*MessagePrepareRequest) MarshalTo

func (m *MessagePrepareRequest) MarshalTo(dAtA []byte) (int, error)

func (*MessagePrepareRequest) MarshalToSizedBuffer

func (m *MessagePrepareRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessagePrepareRequest) ProtoMessage

func (*MessagePrepareRequest) ProtoMessage()

func (*MessagePrepareRequest) Reset

func (m *MessagePrepareRequest) Reset()

func (*MessagePrepareRequest) Size

func (m *MessagePrepareRequest) Size() (n int)

func (*MessagePrepareRequest) String

func (m *MessagePrepareRequest) String() string

func (*MessagePrepareRequest) Unmarshal

func (m *MessagePrepareRequest) Unmarshal(dAtA []byte) error

func (*MessagePrepareRequest) XXX_DiscardUnknown

func (m *MessagePrepareRequest) XXX_DiscardUnknown()

func (*MessagePrepareRequest) XXX_Marshal

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

func (*MessagePrepareRequest) XXX_Merge

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

func (*MessagePrepareRequest) XXX_Size

func (m *MessagePrepareRequest) XXX_Size() int

func (*MessagePrepareRequest) XXX_Unmarshal

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

type MessagePrepareResponse

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

func (*MessagePrepareResponse) Descriptor

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

func (*MessagePrepareResponse) GoString

func (this *MessagePrepareResponse) GoString() string

func (*MessagePrepareResponse) Marshal

func (m *MessagePrepareResponse) Marshal() (dAtA []byte, err error)

func (*MessagePrepareResponse) MarshalTo

func (m *MessagePrepareResponse) MarshalTo(dAtA []byte) (int, error)

func (*MessagePrepareResponse) MarshalToSizedBuffer

func (m *MessagePrepareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessagePrepareResponse) ProtoMessage

func (*MessagePrepareResponse) ProtoMessage()

func (*MessagePrepareResponse) Reset

func (m *MessagePrepareResponse) Reset()

func (*MessagePrepareResponse) Size

func (m *MessagePrepareResponse) Size() (n int)

func (*MessagePrepareResponse) String

func (m *MessagePrepareResponse) String() string

func (*MessagePrepareResponse) Unmarshal

func (m *MessagePrepareResponse) Unmarshal(dAtA []byte) error

func (*MessagePrepareResponse) XXX_DiscardUnknown

func (m *MessagePrepareResponse) XXX_DiscardUnknown()

func (*MessagePrepareResponse) XXX_Marshal

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

func (*MessagePrepareResponse) XXX_Merge

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

func (*MessagePrepareResponse) XXX_Size

func (m *MessagePrepareResponse) XXX_Size() int

func (*MessagePrepareResponse) XXX_Unmarshal

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

type MessageType

type MessageType int32
const (
	MessageSent    MessageType = 0
	MessagePending MessageType = 1
	MessageAck     MessageType = 2
)

func (MessageType) EnumDescriptor

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

func (MessageType) String

func (x MessageType) String() string

type MessagesRequest

type MessagesRequest struct {
	Sender               string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient            string   `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessagesRequest) Descriptor

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

func (*MessagesRequest) GoString

func (this *MessagesRequest) GoString() string

func (*MessagesRequest) Marshal

func (m *MessagesRequest) Marshal() (dAtA []byte, err error)

func (*MessagesRequest) MarshalTo

func (m *MessagesRequest) MarshalTo(dAtA []byte) (int, error)

func (*MessagesRequest) MarshalToSizedBuffer

func (m *MessagesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessagesRequest) ProtoMessage

func (*MessagesRequest) ProtoMessage()

func (*MessagesRequest) Reset

func (m *MessagesRequest) Reset()

func (*MessagesRequest) Size

func (m *MessagesRequest) Size() (n int)

func (*MessagesRequest) String

func (m *MessagesRequest) String() string

func (*MessagesRequest) Unmarshal

func (m *MessagesRequest) Unmarshal(dAtA []byte) error

func (*MessagesRequest) XXX_DiscardUnknown

func (m *MessagesRequest) XXX_DiscardUnknown()

func (*MessagesRequest) XXX_Marshal

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

func (*MessagesRequest) XXX_Merge

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

func (*MessagesRequest) XXX_Size

func (m *MessagesRequest) XXX_Size() int

func (*MessagesRequest) XXX_Unmarshal

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

type MessagesResponse

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

func (*MessagesResponse) Descriptor

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

func (*MessagesResponse) GoString

func (this *MessagesResponse) GoString() string

func (*MessagesResponse) Marshal

func (m *MessagesResponse) Marshal() (dAtA []byte, err error)

func (*MessagesResponse) MarshalTo

func (m *MessagesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MessagesResponse) MarshalToSizedBuffer

func (m *MessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MessagesResponse) ProtoMessage

func (*MessagesResponse) ProtoMessage()

func (*MessagesResponse) Reset

func (m *MessagesResponse) Reset()

func (*MessagesResponse) Size

func (m *MessagesResponse) Size() (n int)

func (*MessagesResponse) String

func (m *MessagesResponse) String() string

func (*MessagesResponse) Unmarshal

func (m *MessagesResponse) Unmarshal(dAtA []byte) error

func (*MessagesResponse) XXX_DiscardUnknown

func (m *MessagesResponse) XXX_DiscardUnknown()

func (*MessagesResponse) XXX_Marshal

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

func (*MessagesResponse) XXX_Merge

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

func (*MessagesResponse) XXX_Size

func (m *MessagesResponse) XXX_Size() int

func (*MessagesResponse) XXX_Unmarshal

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

type Pref

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

func (*Pref) Descriptor

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

func (*Pref) GoString

func (this *Pref) GoString() string

func (*Pref) Marshal

func (m *Pref) Marshal() (dAtA []byte, err error)

func (*Pref) MarshalTo

func (m *Pref) MarshalTo(dAtA []byte) (int, error)

func (*Pref) MarshalToSizedBuffer

func (m *Pref) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Pref) ProtoMessage

func (*Pref) ProtoMessage()

func (*Pref) Reset

func (m *Pref) Reset()

func (*Pref) Size

func (m *Pref) Size() (n int)

func (*Pref) String

func (m *Pref) String() string

func (*Pref) Unmarshal

func (m *Pref) Unmarshal(dAtA []byte) error

func (*Pref) XXX_DiscardUnknown

func (m *Pref) XXX_DiscardUnknown()

func (*Pref) XXX_Marshal

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

func (*Pref) XXX_Merge

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

func (*Pref) XXX_Size

func (m *Pref) XXX_Size() int

func (*Pref) XXX_Unmarshal

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

type PrefKey

type PrefKey int32
const (
	PrefUnknown PrefKey = 0
)

func (PrefKey) EnumDescriptor

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

func (PrefKey) String

func (x PrefKey) String() string

type PreferenceSetRequest

type PreferenceSetRequest struct {
	Pref                 *Pref    `protobuf:"bytes,1,opt,name=pref,proto3" json:"pref,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PreferenceSetRequest) Descriptor

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

func (*PreferenceSetRequest) GoString

func (this *PreferenceSetRequest) GoString() string

func (*PreferenceSetRequest) Marshal

func (m *PreferenceSetRequest) Marshal() (dAtA []byte, err error)

func (*PreferenceSetRequest) MarshalTo

func (m *PreferenceSetRequest) MarshalTo(dAtA []byte) (int, error)

func (*PreferenceSetRequest) MarshalToSizedBuffer

func (m *PreferenceSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PreferenceSetRequest) ProtoMessage

func (*PreferenceSetRequest) ProtoMessage()

func (*PreferenceSetRequest) Reset

func (m *PreferenceSetRequest) Reset()

func (*PreferenceSetRequest) Size

func (m *PreferenceSetRequest) Size() (n int)

func (*PreferenceSetRequest) String

func (m *PreferenceSetRequest) String() string

func (*PreferenceSetRequest) Unmarshal

func (m *PreferenceSetRequest) Unmarshal(dAtA []byte) error

func (*PreferenceSetRequest) XXX_DiscardUnknown

func (m *PreferenceSetRequest) XXX_DiscardUnknown()

func (*PreferenceSetRequest) XXX_Marshal

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

func (*PreferenceSetRequest) XXX_Merge

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

func (*PreferenceSetRequest) XXX_Size

func (m *PreferenceSetRequest) XXX_Size() int

func (*PreferenceSetRequest) XXX_Unmarshal

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

type PreferenceSetResponse

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

func (*PreferenceSetResponse) Descriptor

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

func (*PreferenceSetResponse) GoString

func (this *PreferenceSetResponse) GoString() string

func (*PreferenceSetResponse) Marshal

func (m *PreferenceSetResponse) Marshal() (dAtA []byte, err error)

func (*PreferenceSetResponse) MarshalTo

func (m *PreferenceSetResponse) MarshalTo(dAtA []byte) (int, error)

func (*PreferenceSetResponse) MarshalToSizedBuffer

func (m *PreferenceSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PreferenceSetResponse) ProtoMessage

func (*PreferenceSetResponse) ProtoMessage()

func (*PreferenceSetResponse) Reset

func (m *PreferenceSetResponse) Reset()

func (*PreferenceSetResponse) Size

func (m *PreferenceSetResponse) Size() (n int)

func (*PreferenceSetResponse) String

func (m *PreferenceSetResponse) String() string

func (*PreferenceSetResponse) Unmarshal

func (m *PreferenceSetResponse) Unmarshal(dAtA []byte) error

func (*PreferenceSetResponse) XXX_DiscardUnknown

func (m *PreferenceSetResponse) XXX_DiscardUnknown()

func (*PreferenceSetResponse) XXX_Marshal

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

func (*PreferenceSetResponse) XXX_Merge

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

func (*PreferenceSetResponse) XXX_Size

func (m *PreferenceSetResponse) XXX_Size() int

func (*PreferenceSetResponse) XXX_Unmarshal

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

type PreferencesRequest

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

func (*PreferencesRequest) Descriptor

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

func (*PreferencesRequest) GoString

func (this *PreferencesRequest) GoString() string

func (*PreferencesRequest) Marshal

func (m *PreferencesRequest) Marshal() (dAtA []byte, err error)

func (*PreferencesRequest) MarshalTo

func (m *PreferencesRequest) MarshalTo(dAtA []byte) (int, error)

func (*PreferencesRequest) MarshalToSizedBuffer

func (m *PreferencesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PreferencesRequest) ProtoMessage

func (*PreferencesRequest) ProtoMessage()

func (*PreferencesRequest) Reset

func (m *PreferencesRequest) Reset()

func (*PreferencesRequest) Size

func (m *PreferencesRequest) Size() (n int)

func (*PreferencesRequest) String

func (m *PreferencesRequest) String() string

func (*PreferencesRequest) Unmarshal

func (m *PreferencesRequest) Unmarshal(dAtA []byte) error

func (*PreferencesRequest) XXX_DiscardUnknown

func (m *PreferencesRequest) XXX_DiscardUnknown()

func (*PreferencesRequest) XXX_Marshal

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

func (*PreferencesRequest) XXX_Merge

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

func (*PreferencesRequest) XXX_Size

func (m *PreferencesRequest) XXX_Size() int

func (*PreferencesRequest) XXX_Unmarshal

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

type PreferencesResponse

type PreferencesResponse struct {
	Prefs                []*Pref  `protobuf:"bytes,1,rep,name=prefs,proto3" json:"prefs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PreferencesResponse) Descriptor

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

func (*PreferencesResponse) GoString

func (this *PreferencesResponse) GoString() string

func (*PreferencesResponse) Marshal

func (m *PreferencesResponse) Marshal() (dAtA []byte, err error)

func (*PreferencesResponse) MarshalTo

func (m *PreferencesResponse) MarshalTo(dAtA []byte) (int, error)

func (*PreferencesResponse) MarshalToSizedBuffer

func (m *PreferencesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PreferencesResponse) ProtoMessage

func (*PreferencesResponse) ProtoMessage()

func (*PreferencesResponse) Reset

func (m *PreferencesResponse) Reset()

func (*PreferencesResponse) Size

func (m *PreferencesResponse) Size() (n int)

func (*PreferencesResponse) String

func (m *PreferencesResponse) String() string

func (*PreferencesResponse) Unmarshal

func (m *PreferencesResponse) Unmarshal(dAtA []byte) error

func (*PreferencesResponse) XXX_DiscardUnknown

func (m *PreferencesResponse) XXX_DiscardUnknown()

func (*PreferencesResponse) XXX_Marshal

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

func (*PreferencesResponse) XXX_Merge

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

func (*PreferencesResponse) XXX_Size

func (m *PreferencesResponse) XXX_Size() int

func (*PreferencesResponse) XXX_Unmarshal

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

type PullRequest

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

func (*PullRequest) Descriptor

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

func (*PullRequest) GoString

func (this *PullRequest) GoString() string

func (*PullRequest) Marshal

func (m *PullRequest) Marshal() (dAtA []byte, err error)

func (*PullRequest) MarshalTo

func (m *PullRequest) MarshalTo(dAtA []byte) (int, error)

func (*PullRequest) MarshalToSizedBuffer

func (m *PullRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullRequest) ProtoMessage

func (*PullRequest) ProtoMessage()

func (*PullRequest) Reset

func (m *PullRequest) Reset()

func (*PullRequest) Size

func (m *PullRequest) Size() (n int)

func (*PullRequest) String

func (m *PullRequest) String() string

func (*PullRequest) Unmarshal

func (m *PullRequest) Unmarshal(dAtA []byte) error

func (*PullRequest) XXX_DiscardUnknown

func (m *PullRequest) XXX_DiscardUnknown()

func (*PullRequest) XXX_Marshal

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

func (*PullRequest) XXX_Merge

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

func (*PullRequest) XXX_Size

func (m *PullRequest) XXX_Size() int

func (*PullRequest) XXX_Unmarshal

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

type PullResponse

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

func (*PullResponse) Descriptor

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

func (*PullResponse) GoString

func (this *PullResponse) GoString() string

func (*PullResponse) Marshal

func (m *PullResponse) Marshal() (dAtA []byte, err error)

func (*PullResponse) MarshalTo

func (m *PullResponse) MarshalTo(dAtA []byte) (int, error)

func (*PullResponse) MarshalToSizedBuffer

func (m *PullResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PullResponse) ProtoMessage

func (*PullResponse) ProtoMessage()

func (*PullResponse) Reset

func (m *PullResponse) Reset()

func (*PullResponse) Size

func (m *PullResponse) Size() (n int)

func (*PullResponse) String

func (m *PullResponse) String() string

func (*PullResponse) Unmarshal

func (m *PullResponse) Unmarshal(dAtA []byte) error

func (*PullResponse) XXX_DiscardUnknown

func (m *PullResponse) XXX_DiscardUnknown()

func (*PullResponse) XXX_Marshal

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

func (*PullResponse) XXX_Merge

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

func (*PullResponse) XXX_Size

func (m *PullResponse) XXX_Size() int

func (*PullResponse) XXX_Unmarshal

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

type PushRequest

type PushRequest struct {
	Identity             string   `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	RemoteCheck          bool     `protobuf:"varint,2,opt,name=remoteCheck,proto3" json:"remoteCheck,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PushRequest) Descriptor

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

func (*PushRequest) GoString

func (this *PushRequest) GoString() string

func (*PushRequest) Marshal

func (m *PushRequest) Marshal() (dAtA []byte, err error)

func (*PushRequest) MarshalTo

func (m *PushRequest) MarshalTo(dAtA []byte) (int, error)

func (*PushRequest) MarshalToSizedBuffer

func (m *PushRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PushRequest) ProtoMessage

func (*PushRequest) ProtoMessage()

func (*PushRequest) Reset

func (m *PushRequest) Reset()

func (*PushRequest) Size

func (m *PushRequest) Size() (n int)

func (*PushRequest) String

func (m *PushRequest) String() string

func (*PushRequest) Unmarshal

func (m *PushRequest) Unmarshal(dAtA []byte) error

func (*PushRequest) XXX_DiscardUnknown

func (m *PushRequest) XXX_DiscardUnknown()

func (*PushRequest) XXX_Marshal

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

func (*PushRequest) XXX_Merge

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

func (*PushRequest) XXX_Size

func (m *PushRequest) XXX_Size() int

func (*PushRequest) XXX_Unmarshal

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

type PushResponse

type PushResponse struct {
	KID                  string   `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	URLs                 []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PushResponse) Descriptor

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

func (*PushResponse) GoString

func (this *PushResponse) GoString() string

func (*PushResponse) Marshal

func (m *PushResponse) Marshal() (dAtA []byte, err error)

func (*PushResponse) MarshalTo

func (m *PushResponse) MarshalTo(dAtA []byte) (int, error)

func (*PushResponse) MarshalToSizedBuffer

func (m *PushResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PushResponse) ProtoMessage

func (*PushResponse) ProtoMessage()

func (*PushResponse) Reset

func (m *PushResponse) Reset()

func (*PushResponse) Size

func (m *PushResponse) Size() (n int)

func (*PushResponse) String

func (m *PushResponse) String() string

func (*PushResponse) Unmarshal

func (m *PushResponse) Unmarshal(dAtA []byte) error

func (*PushResponse) XXX_DiscardUnknown

func (m *PushResponse) XXX_DiscardUnknown()

func (*PushResponse) XXX_Marshal

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

func (*PushResponse) XXX_Merge

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

func (*PushResponse) XXX_Size

func (m *PushResponse) XXX_Size() int

func (*PushResponse) XXX_Unmarshal

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

type RPCError

type RPCError struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Details              string   `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RPCError) Descriptor

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

func (*RPCError) GoString

func (this *RPCError) GoString() string

func (*RPCError) Marshal

func (m *RPCError) Marshal() (dAtA []byte, err error)

func (*RPCError) MarshalTo

func (m *RPCError) MarshalTo(dAtA []byte) (int, error)

func (*RPCError) MarshalToSizedBuffer

func (m *RPCError) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RPCError) ProtoMessage

func (*RPCError) ProtoMessage()

func (*RPCError) Reset

func (m *RPCError) Reset()

func (*RPCError) Size

func (m *RPCError) Size() (n int)

func (*RPCError) String

func (m *RPCError) String() string

func (*RPCError) Unmarshal

func (m *RPCError) Unmarshal(dAtA []byte) error

func (*RPCError) XXX_DiscardUnknown

func (m *RPCError) XXX_DiscardUnknown()

func (*RPCError) XXX_Marshal

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

func (*RPCError) XXX_Merge

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

func (*RPCError) XXX_Size

func (m *RPCError) XXX_Size() int

func (*RPCError) XXX_Unmarshal

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

type RandPasswordRequest

type RandPasswordRequest struct {
	Length               int32    `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RandPasswordRequest) Descriptor

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

func (*RandPasswordRequest) GoString

func (this *RandPasswordRequest) GoString() string

func (*RandPasswordRequest) Marshal

func (m *RandPasswordRequest) Marshal() (dAtA []byte, err error)

func (*RandPasswordRequest) MarshalTo

func (m *RandPasswordRequest) MarshalTo(dAtA []byte) (int, error)

func (*RandPasswordRequest) MarshalToSizedBuffer

func (m *RandPasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RandPasswordRequest) ProtoMessage

func (*RandPasswordRequest) ProtoMessage()

func (*RandPasswordRequest) Reset

func (m *RandPasswordRequest) Reset()

func (*RandPasswordRequest) Size

func (m *RandPasswordRequest) Size() (n int)

func (*RandPasswordRequest) String

func (m *RandPasswordRequest) String() string

func (*RandPasswordRequest) Unmarshal

func (m *RandPasswordRequest) Unmarshal(dAtA []byte) error

func (*RandPasswordRequest) XXX_DiscardUnknown

func (m *RandPasswordRequest) XXX_DiscardUnknown()

func (*RandPasswordRequest) XXX_Marshal

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

func (*RandPasswordRequest) XXX_Merge

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

func (*RandPasswordRequest) XXX_Size

func (m *RandPasswordRequest) XXX_Size() int

func (*RandPasswordRequest) XXX_Unmarshal

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

type RandPasswordResponse

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

func (*RandPasswordResponse) Descriptor

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

func (*RandPasswordResponse) GoString

func (this *RandPasswordResponse) GoString() string

func (*RandPasswordResponse) Marshal

func (m *RandPasswordResponse) Marshal() (dAtA []byte, err error)

func (*RandPasswordResponse) MarshalTo

func (m *RandPasswordResponse) MarshalTo(dAtA []byte) (int, error)

func (*RandPasswordResponse) MarshalToSizedBuffer

func (m *RandPasswordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RandPasswordResponse) ProtoMessage

func (*RandPasswordResponse) ProtoMessage()

func (*RandPasswordResponse) Reset

func (m *RandPasswordResponse) Reset()

func (*RandPasswordResponse) Size

func (m *RandPasswordResponse) Size() (n int)

func (*RandPasswordResponse) String

func (m *RandPasswordResponse) String() string

func (*RandPasswordResponse) Unmarshal

func (m *RandPasswordResponse) Unmarshal(dAtA []byte) error

func (*RandPasswordResponse) XXX_DiscardUnknown

func (m *RandPasswordResponse) XXX_DiscardUnknown()

func (*RandPasswordResponse) XXX_Marshal

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

func (*RandPasswordResponse) XXX_Merge

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

func (*RandPasswordResponse) XXX_Size

func (m *RandPasswordResponse) XXX_Size() int

func (*RandPasswordResponse) XXX_Unmarshal

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

type RandRequest

type RandRequest struct {
	NumBytes             int32    `protobuf:"varint,1,opt,name=numBytes,proto3" json:"numBytes,omitempty"`
	Encoding             Encoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=service.Encoding" json:"encoding,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RandRequest) Descriptor

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

func (*RandRequest) GoString

func (this *RandRequest) GoString() string

func (*RandRequest) Marshal

func (m *RandRequest) Marshal() (dAtA []byte, err error)

func (*RandRequest) MarshalTo

func (m *RandRequest) MarshalTo(dAtA []byte) (int, error)

func (*RandRequest) MarshalToSizedBuffer

func (m *RandRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RandRequest) ProtoMessage

func (*RandRequest) ProtoMessage()

func (*RandRequest) Reset

func (m *RandRequest) Reset()

func (*RandRequest) Size

func (m *RandRequest) Size() (n int)

func (*RandRequest) String

func (m *RandRequest) String() string

func (*RandRequest) Unmarshal

func (m *RandRequest) Unmarshal(dAtA []byte) error

func (*RandRequest) XXX_DiscardUnknown

func (m *RandRequest) XXX_DiscardUnknown()

func (*RandRequest) XXX_Marshal

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

func (*RandRequest) XXX_Merge

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

func (*RandRequest) XXX_Size

func (m *RandRequest) XXX_Size() int

func (*RandRequest) XXX_Unmarshal

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

type RandResponse

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

func (*RandResponse) Descriptor

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

func (*RandResponse) GoString

func (this *RandResponse) GoString() string

func (*RandResponse) Marshal

func (m *RandResponse) Marshal() (dAtA []byte, err error)

func (*RandResponse) MarshalTo

func (m *RandResponse) MarshalTo(dAtA []byte) (int, error)

func (*RandResponse) MarshalToSizedBuffer

func (m *RandResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RandResponse) ProtoMessage

func (*RandResponse) ProtoMessage()

func (*RandResponse) Reset

func (m *RandResponse) Reset()

func (*RandResponse) Size

func (m *RandResponse) Size() (n int)

func (*RandResponse) String

func (m *RandResponse) String() string

func (*RandResponse) Unmarshal

func (m *RandResponse) Unmarshal(dAtA []byte) error

func (*RandResponse) XXX_DiscardUnknown

func (m *RandResponse) XXX_DiscardUnknown()

func (*RandResponse) XXX_Marshal

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

func (*RandResponse) XXX_Merge

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

func (*RandResponse) XXX_Size

func (m *RandResponse) XXX_Size() int

func (*RandResponse) XXX_Unmarshal

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

type RuntimeStatusRequest

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

func (*RuntimeStatusRequest) Descriptor

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

func (*RuntimeStatusRequest) GoString

func (this *RuntimeStatusRequest) GoString() string

func (*RuntimeStatusRequest) Marshal

func (m *RuntimeStatusRequest) Marshal() (dAtA []byte, err error)

func (*RuntimeStatusRequest) MarshalTo

func (m *RuntimeStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeStatusRequest) MarshalToSizedBuffer

func (m *RuntimeStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeStatusRequest) ProtoMessage

func (*RuntimeStatusRequest) ProtoMessage()

func (*RuntimeStatusRequest) Reset

func (m *RuntimeStatusRequest) Reset()

func (*RuntimeStatusRequest) Size

func (m *RuntimeStatusRequest) Size() (n int)

func (*RuntimeStatusRequest) String

func (m *RuntimeStatusRequest) String() string

func (*RuntimeStatusRequest) Unmarshal

func (m *RuntimeStatusRequest) Unmarshal(dAtA []byte) error

func (*RuntimeStatusRequest) XXX_DiscardUnknown

func (m *RuntimeStatusRequest) XXX_DiscardUnknown()

func (*RuntimeStatusRequest) XXX_Marshal

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

func (*RuntimeStatusRequest) XXX_Merge

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

func (*RuntimeStatusRequest) XXX_Size

func (m *RuntimeStatusRequest) XXX_Size() int

func (*RuntimeStatusRequest) XXX_Unmarshal

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

type RuntimeStatusResponse

type RuntimeStatusResponse struct {
	// Version of running service.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// AppName app name.
	AppName string `protobuf:"bytes,2,opt,name=appName,proto3" json:"appName,omitempty"`
	// Exe is the service executable path.
	Exe string `protobuf:"bytes,4,opt,name=exe,proto3" json:"exe,omitempty"`
	// AuthSetupNeeded if auth needs to be setup.
	AuthSetupNeeded bool `protobuf:"varint,5,opt,name=authSetupNeeded,proto3" json:"authSetupNeeded,omitempty"`
	// FIDO2 available.
	FIDO2                bool     `protobuf:"varint,6,opt,name=fido2,proto3" json:"fido2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RuntimeStatusResponse) Descriptor

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

func (*RuntimeStatusResponse) GoString

func (this *RuntimeStatusResponse) GoString() string

func (*RuntimeStatusResponse) Marshal

func (m *RuntimeStatusResponse) Marshal() (dAtA []byte, err error)

func (*RuntimeStatusResponse) MarshalTo

func (m *RuntimeStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeStatusResponse) MarshalToSizedBuffer

func (m *RuntimeStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeStatusResponse) ProtoMessage

func (*RuntimeStatusResponse) ProtoMessage()

func (*RuntimeStatusResponse) Reset

func (m *RuntimeStatusResponse) Reset()

func (*RuntimeStatusResponse) Size

func (m *RuntimeStatusResponse) Size() (n int)

func (*RuntimeStatusResponse) String

func (m *RuntimeStatusResponse) String() string

func (*RuntimeStatusResponse) Unmarshal

func (m *RuntimeStatusResponse) Unmarshal(dAtA []byte) error

func (*RuntimeStatusResponse) XXX_DiscardUnknown

func (m *RuntimeStatusResponse) XXX_DiscardUnknown()

func (*RuntimeStatusResponse) XXX_Marshal

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

func (*RuntimeStatusResponse) XXX_Merge

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

func (*RuntimeStatusResponse) XXX_Size

func (m *RuntimeStatusResponse) XXX_Size() int

func (*RuntimeStatusResponse) XXX_Unmarshal

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

type SearchRequest

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

func (*SearchRequest) Descriptor

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

func (*SearchRequest) GoString

func (this *SearchRequest) GoString() string

func (*SearchRequest) Marshal

func (m *SearchRequest) Marshal() (dAtA []byte, err error)

func (*SearchRequest) MarshalTo

func (m *SearchRequest) MarshalTo(dAtA []byte) (int, error)

func (*SearchRequest) MarshalToSizedBuffer

func (m *SearchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) Reset

func (m *SearchRequest) Reset()

func (*SearchRequest) Size

func (m *SearchRequest) Size() (n int)

func (*SearchRequest) String

func (m *SearchRequest) String() string

func (*SearchRequest) Unmarshal

func (m *SearchRequest) Unmarshal(dAtA []byte) error

func (*SearchRequest) XXX_DiscardUnknown

func (m *SearchRequest) XXX_DiscardUnknown()

func (*SearchRequest) XXX_Marshal

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

func (*SearchRequest) XXX_Merge

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

func (*SearchRequest) XXX_Size

func (m *SearchRequest) XXX_Size() int

func (*SearchRequest) XXX_Unmarshal

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

type SearchResponse

type SearchResponse struct {
	Keys                 []*Key   `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SearchResponse) Descriptor

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

func (*SearchResponse) GoString

func (this *SearchResponse) GoString() string

func (*SearchResponse) Marshal

func (m *SearchResponse) Marshal() (dAtA []byte, err error)

func (*SearchResponse) MarshalTo

func (m *SearchResponse) MarshalTo(dAtA []byte) (int, error)

func (*SearchResponse) MarshalToSizedBuffer

func (m *SearchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) Reset

func (m *SearchResponse) Reset()

func (*SearchResponse) Size

func (m *SearchResponse) Size() (n int)

func (*SearchResponse) String

func (m *SearchResponse) String() string

func (*SearchResponse) Unmarshal

func (m *SearchResponse) Unmarshal(dAtA []byte) error

func (*SearchResponse) XXX_DiscardUnknown

func (m *SearchResponse) XXX_DiscardUnknown()

func (*SearchResponse) XXX_Marshal

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

func (*SearchResponse) XXX_Merge

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

func (*SearchResponse) XXX_Size

func (m *SearchResponse) XXX_Size() int

func (*SearchResponse) XXX_Unmarshal

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

type Secret

type Secret struct {
	ID                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type                 SecretType `protobuf:"varint,3,opt,name=type,proto3,enum=service.SecretType" json:"type,omitempty"`
	Username             string     `protobuf:"bytes,10,opt,name=username,proto3" json:"username,omitempty"`
	Password             string     `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"`
	URL                  string     `protobuf:"bytes,20,opt,name=url,proto3" json:"url,omitempty"`
	Notes                string     `protobuf:"bytes,30,opt,name=notes,proto3" json:"notes,omitempty"`
	CreatedAt            int64      `protobuf:"varint,100,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt            int64      `protobuf:"varint,101,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Secret) Descriptor

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

func (*Secret) GoString

func (this *Secret) GoString() string

func (*Secret) Marshal

func (m *Secret) Marshal() (dAtA []byte, err error)

func (*Secret) MarshalTo

func (m *Secret) MarshalTo(dAtA []byte) (int, error)

func (*Secret) MarshalToSizedBuffer

func (m *Secret) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) Reset

func (m *Secret) Reset()

func (*Secret) Size

func (m *Secret) Size() (n int)

func (*Secret) String

func (m *Secret) String() string

func (*Secret) Unmarshal

func (m *Secret) Unmarshal(dAtA []byte) error

func (*Secret) XXX_DiscardUnknown

func (m *Secret) XXX_DiscardUnknown()

func (*Secret) XXX_Marshal

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

func (*Secret) XXX_Merge

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

func (*Secret) XXX_Size

func (m *Secret) XXX_Size() int

func (*Secret) XXX_Unmarshal

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

type SecretRemoveRequest

type SecretRemoveRequest 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 (*SecretRemoveRequest) Descriptor

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

func (*SecretRemoveRequest) GoString

func (this *SecretRemoveRequest) GoString() string

func (*SecretRemoveRequest) Marshal

func (m *SecretRemoveRequest) Marshal() (dAtA []byte, err error)

func (*SecretRemoveRequest) MarshalTo

func (m *SecretRemoveRequest) MarshalTo(dAtA []byte) (int, error)

func (*SecretRemoveRequest) MarshalToSizedBuffer

func (m *SecretRemoveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRemoveRequest) ProtoMessage

func (*SecretRemoveRequest) ProtoMessage()

func (*SecretRemoveRequest) Reset

func (m *SecretRemoveRequest) Reset()

func (*SecretRemoveRequest) Size

func (m *SecretRemoveRequest) Size() (n int)

func (*SecretRemoveRequest) String

func (m *SecretRemoveRequest) String() string

func (*SecretRemoveRequest) Unmarshal

func (m *SecretRemoveRequest) Unmarshal(dAtA []byte) error

func (*SecretRemoveRequest) XXX_DiscardUnknown

func (m *SecretRemoveRequest) XXX_DiscardUnknown()

func (*SecretRemoveRequest) XXX_Marshal

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

func (*SecretRemoveRequest) XXX_Merge

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

func (*SecretRemoveRequest) XXX_Size

func (m *SecretRemoveRequest) XXX_Size() int

func (*SecretRemoveRequest) XXX_Unmarshal

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

type SecretRemoveResponse

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

func (*SecretRemoveResponse) Descriptor

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

func (*SecretRemoveResponse) GoString

func (this *SecretRemoveResponse) GoString() string

func (*SecretRemoveResponse) Marshal

func (m *SecretRemoveResponse) Marshal() (dAtA []byte, err error)

func (*SecretRemoveResponse) MarshalTo

func (m *SecretRemoveResponse) MarshalTo(dAtA []byte) (int, error)

func (*SecretRemoveResponse) MarshalToSizedBuffer

func (m *SecretRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRemoveResponse) ProtoMessage

func (*SecretRemoveResponse) ProtoMessage()

func (*SecretRemoveResponse) Reset

func (m *SecretRemoveResponse) Reset()

func (*SecretRemoveResponse) Size

func (m *SecretRemoveResponse) Size() (n int)

func (*SecretRemoveResponse) String

func (m *SecretRemoveResponse) String() string

func (*SecretRemoveResponse) Unmarshal

func (m *SecretRemoveResponse) Unmarshal(dAtA []byte) error

func (*SecretRemoveResponse) XXX_DiscardUnknown

func (m *SecretRemoveResponse) XXX_DiscardUnknown()

func (*SecretRemoveResponse) XXX_Marshal

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

func (*SecretRemoveResponse) XXX_Merge

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

func (*SecretRemoveResponse) XXX_Size

func (m *SecretRemoveResponse) XXX_Size() int

func (*SecretRemoveResponse) XXX_Unmarshal

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

type SecretRequest

type SecretRequest 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 (*SecretRequest) Descriptor

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

func (*SecretRequest) GoString

func (this *SecretRequest) GoString() string

func (*SecretRequest) Marshal

func (m *SecretRequest) Marshal() (dAtA []byte, err error)

func (*SecretRequest) MarshalTo

func (m *SecretRequest) MarshalTo(dAtA []byte) (int, error)

func (*SecretRequest) MarshalToSizedBuffer

func (m *SecretRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretRequest) ProtoMessage

func (*SecretRequest) ProtoMessage()

func (*SecretRequest) Reset

func (m *SecretRequest) Reset()

func (*SecretRequest) Size

func (m *SecretRequest) Size() (n int)

func (*SecretRequest) String

func (m *SecretRequest) String() string

func (*SecretRequest) Unmarshal

func (m *SecretRequest) Unmarshal(dAtA []byte) error

func (*SecretRequest) XXX_DiscardUnknown

func (m *SecretRequest) XXX_DiscardUnknown()

func (*SecretRequest) XXX_Marshal

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

func (*SecretRequest) XXX_Merge

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

func (*SecretRequest) XXX_Size

func (m *SecretRequest) XXX_Size() int

func (*SecretRequest) XXX_Unmarshal

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

type SecretResponse

type SecretResponse struct {
	Secret               *Secret  `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SecretResponse) Descriptor

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

func (*SecretResponse) GoString

func (this *SecretResponse) GoString() string

func (*SecretResponse) Marshal

func (m *SecretResponse) Marshal() (dAtA []byte, err error)

func (*SecretResponse) MarshalTo

func (m *SecretResponse) MarshalTo(dAtA []byte) (int, error)

func (*SecretResponse) MarshalToSizedBuffer

func (m *SecretResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretResponse) ProtoMessage

func (*SecretResponse) ProtoMessage()

func (*SecretResponse) Reset

func (m *SecretResponse) Reset()

func (*SecretResponse) Size

func (m *SecretResponse) Size() (n int)

func (*SecretResponse) String

func (m *SecretResponse) String() string

func (*SecretResponse) Unmarshal

func (m *SecretResponse) Unmarshal(dAtA []byte) error

func (*SecretResponse) XXX_DiscardUnknown

func (m *SecretResponse) XXX_DiscardUnknown()

func (*SecretResponse) XXX_Marshal

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

func (*SecretResponse) XXX_Merge

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

func (*SecretResponse) XXX_Size

func (m *SecretResponse) XXX_Size() int

func (*SecretResponse) XXX_Unmarshal

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

type SecretSaveRequest

type SecretSaveRequest struct {
	Secret               *Secret  `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SecretSaveRequest) Descriptor

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

func (*SecretSaveRequest) GoString

func (this *SecretSaveRequest) GoString() string

func (*SecretSaveRequest) Marshal

func (m *SecretSaveRequest) Marshal() (dAtA []byte, err error)

func (*SecretSaveRequest) MarshalTo

func (m *SecretSaveRequest) MarshalTo(dAtA []byte) (int, error)

func (*SecretSaveRequest) MarshalToSizedBuffer

func (m *SecretSaveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretSaveRequest) ProtoMessage

func (*SecretSaveRequest) ProtoMessage()

func (*SecretSaveRequest) Reset

func (m *SecretSaveRequest) Reset()

func (*SecretSaveRequest) Size

func (m *SecretSaveRequest) Size() (n int)

func (*SecretSaveRequest) String

func (m *SecretSaveRequest) String() string

func (*SecretSaveRequest) Unmarshal

func (m *SecretSaveRequest) Unmarshal(dAtA []byte) error

func (*SecretSaveRequest) XXX_DiscardUnknown

func (m *SecretSaveRequest) XXX_DiscardUnknown()

func (*SecretSaveRequest) XXX_Marshal

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

func (*SecretSaveRequest) XXX_Merge

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

func (*SecretSaveRequest) XXX_Size

func (m *SecretSaveRequest) XXX_Size() int

func (*SecretSaveRequest) XXX_Unmarshal

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

type SecretSaveResponse

type SecretSaveResponse struct {
	Secret               *Secret  `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SecretSaveResponse) Descriptor

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

func (*SecretSaveResponse) GoString

func (this *SecretSaveResponse) GoString() string

func (*SecretSaveResponse) Marshal

func (m *SecretSaveResponse) Marshal() (dAtA []byte, err error)

func (*SecretSaveResponse) MarshalTo

func (m *SecretSaveResponse) MarshalTo(dAtA []byte) (int, error)

func (*SecretSaveResponse) MarshalToSizedBuffer

func (m *SecretSaveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretSaveResponse) ProtoMessage

func (*SecretSaveResponse) ProtoMessage()

func (*SecretSaveResponse) Reset

func (m *SecretSaveResponse) Reset()

func (*SecretSaveResponse) Size

func (m *SecretSaveResponse) Size() (n int)

func (*SecretSaveResponse) String

func (m *SecretSaveResponse) String() string

func (*SecretSaveResponse) Unmarshal

func (m *SecretSaveResponse) Unmarshal(dAtA []byte) error

func (*SecretSaveResponse) XXX_DiscardUnknown

func (m *SecretSaveResponse) XXX_DiscardUnknown()

func (*SecretSaveResponse) XXX_Marshal

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

func (*SecretSaveResponse) XXX_Merge

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

func (*SecretSaveResponse) XXX_Size

func (m *SecretSaveResponse) XXX_Size() int

func (*SecretSaveResponse) XXX_Unmarshal

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

type SecretType

type SecretType int32
const (
	UnknownSecret  SecretType = 0
	PasswordSecret SecretType = 10
	ContactSecret  SecretType = 11
	CardSecret     SecretType = 12
	NoteSecret     SecretType = 13
)

func (SecretType) EnumDescriptor

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

func (SecretType) String

func (x SecretType) String() string

type SecretsRequest

type SecretsRequest struct {
	Query                string        `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	SortField            string        `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"`
	SortDirection        SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SecretsRequest) Descriptor

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

func (*SecretsRequest) GoString

func (this *SecretsRequest) GoString() string

func (*SecretsRequest) Marshal

func (m *SecretsRequest) Marshal() (dAtA []byte, err error)

func (*SecretsRequest) MarshalTo

func (m *SecretsRequest) MarshalTo(dAtA []byte) (int, error)

func (*SecretsRequest) MarshalToSizedBuffer

func (m *SecretsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretsRequest) ProtoMessage

func (*SecretsRequest) ProtoMessage()

func (*SecretsRequest) Reset

func (m *SecretsRequest) Reset()

func (*SecretsRequest) Size

func (m *SecretsRequest) Size() (n int)

func (*SecretsRequest) String

func (m *SecretsRequest) String() string

func (*SecretsRequest) Unmarshal

func (m *SecretsRequest) Unmarshal(dAtA []byte) error

func (*SecretsRequest) XXX_DiscardUnknown

func (m *SecretsRequest) XXX_DiscardUnknown()

func (*SecretsRequest) XXX_Marshal

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

func (*SecretsRequest) XXX_Merge

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

func (*SecretsRequest) XXX_Size

func (m *SecretsRequest) XXX_Size() int

func (*SecretsRequest) XXX_Unmarshal

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

type SecretsResponse

type SecretsResponse struct {
	Secrets              []*Secret     `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"`
	SortField            string        `protobuf:"bytes,10,opt,name=sortField,proto3" json:"sortField,omitempty"`
	SortDirection        SortDirection `protobuf:"varint,11,opt,name=sortDirection,proto3,enum=service.SortDirection" json:"sortDirection,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SecretsResponse) Descriptor

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

func (*SecretsResponse) GoString

func (this *SecretsResponse) GoString() string

func (*SecretsResponse) Marshal

func (m *SecretsResponse) Marshal() (dAtA []byte, err error)

func (*SecretsResponse) MarshalTo

func (m *SecretsResponse) MarshalTo(dAtA []byte) (int, error)

func (*SecretsResponse) MarshalToSizedBuffer

func (m *SecretsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretsResponse) ProtoMessage

func (*SecretsResponse) ProtoMessage()

func (*SecretsResponse) Reset

func (m *SecretsResponse) Reset()

func (*SecretsResponse) Size

func (m *SecretsResponse) Size() (n int)

func (*SecretsResponse) String

func (m *SecretsResponse) String() string

func (*SecretsResponse) Unmarshal

func (m *SecretsResponse) Unmarshal(dAtA []byte) error

func (*SecretsResponse) XXX_DiscardUnknown

func (m *SecretsResponse) XXX_DiscardUnknown()

func (*SecretsResponse) XXX_Marshal

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

func (*SecretsResponse) XXX_Merge

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

func (*SecretsResponse) XXX_Size

func (m *SecretsResponse) XXX_Size() int

func (*SecretsResponse) XXX_Unmarshal

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

type ServeFn

type ServeFn func() error

ServeFn starts the service.

type SigchainRequest

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

func (*SigchainRequest) Descriptor

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

func (*SigchainRequest) GoString

func (this *SigchainRequest) GoString() string

func (*SigchainRequest) Marshal

func (m *SigchainRequest) Marshal() (dAtA []byte, err error)

func (*SigchainRequest) MarshalTo

func (m *SigchainRequest) MarshalTo(dAtA []byte) (int, error)

func (*SigchainRequest) MarshalToSizedBuffer

func (m *SigchainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SigchainRequest) ProtoMessage

func (*SigchainRequest) ProtoMessage()

func (*SigchainRequest) Reset

func (m *SigchainRequest) Reset()

func (*SigchainRequest) Size

func (m *SigchainRequest) Size() (n int)

func (*SigchainRequest) String

func (m *SigchainRequest) String() string

func (*SigchainRequest) Unmarshal

func (m *SigchainRequest) Unmarshal(dAtA []byte) error

func (*SigchainRequest) XXX_DiscardUnknown

func (m *SigchainRequest) XXX_DiscardUnknown()

func (*SigchainRequest) XXX_Marshal

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

func (*SigchainRequest) XXX_Merge

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

func (*SigchainRequest) XXX_Size

func (m *SigchainRequest) XXX_Size() int

func (*SigchainRequest) XXX_Unmarshal

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

type SigchainResponse

type SigchainResponse struct {
	Key                  *Key         `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Statements           []*Statement `protobuf:"bytes,2,rep,name=statements,proto3" json:"statements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SigchainResponse) Descriptor

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

func (*SigchainResponse) GoString

func (this *SigchainResponse) GoString() string

func (*SigchainResponse) Marshal

func (m *SigchainResponse) Marshal() (dAtA []byte, err error)

func (*SigchainResponse) MarshalTo

func (m *SigchainResponse) MarshalTo(dAtA []byte) (int, error)

func (*SigchainResponse) MarshalToSizedBuffer

func (m *SigchainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SigchainResponse) ProtoMessage

func (*SigchainResponse) ProtoMessage()

func (*SigchainResponse) Reset

func (m *SigchainResponse) Reset()

func (*SigchainResponse) Size

func (m *SigchainResponse) Size() (n int)

func (*SigchainResponse) String

func (m *SigchainResponse) String() string

func (*SigchainResponse) Unmarshal

func (m *SigchainResponse) Unmarshal(dAtA []byte) error

func (*SigchainResponse) XXX_DiscardUnknown

func (m *SigchainResponse) XXX_DiscardUnknown()

func (*SigchainResponse) XXX_Marshal

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

func (*SigchainResponse) XXX_Merge

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

func (*SigchainResponse) XXX_Size

func (m *SigchainResponse) XXX_Size() int

func (*SigchainResponse) XXX_Unmarshal

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

type SignFileInput

type SignFileInput struct {
	// In is input file path.
	In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
	// Out file path (or sig if detached).
	Out    string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"`
	Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"`
	// Armored, if true, output will be armored.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Detached, if true, output will be just the signature.
	Detached             bool     `protobuf:"varint,11,opt,name=detached,proto3" json:"detached,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignFileInput) Descriptor

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

func (*SignFileInput) GoString

func (this *SignFileInput) GoString() string

func (*SignFileInput) Marshal

func (m *SignFileInput) Marshal() (dAtA []byte, err error)

func (*SignFileInput) MarshalTo

func (m *SignFileInput) MarshalTo(dAtA []byte) (int, error)

func (*SignFileInput) MarshalToSizedBuffer

func (m *SignFileInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignFileInput) ProtoMessage

func (*SignFileInput) ProtoMessage()

func (*SignFileInput) Reset

func (m *SignFileInput) Reset()

func (*SignFileInput) Size

func (m *SignFileInput) Size() (n int)

func (*SignFileInput) String

func (m *SignFileInput) String() string

func (*SignFileInput) Unmarshal

func (m *SignFileInput) Unmarshal(dAtA []byte) error

func (*SignFileInput) XXX_DiscardUnknown

func (m *SignFileInput) XXX_DiscardUnknown()

func (*SignFileInput) XXX_Marshal

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

func (*SignFileInput) XXX_Merge

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

func (*SignFileInput) XXX_Size

func (m *SignFileInput) XXX_Size() int

func (*SignFileInput) XXX_Unmarshal

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

type SignFileOutput

type SignFileOutput struct {
	KID                  string   `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	Bytes                int32    `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Total                int32    `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignFileOutput) Descriptor

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

func (*SignFileOutput) GoString

func (this *SignFileOutput) GoString() string

func (*SignFileOutput) Marshal

func (m *SignFileOutput) Marshal() (dAtA []byte, err error)

func (*SignFileOutput) MarshalTo

func (m *SignFileOutput) MarshalTo(dAtA []byte) (int, error)

func (*SignFileOutput) MarshalToSizedBuffer

func (m *SignFileOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignFileOutput) ProtoMessage

func (*SignFileOutput) ProtoMessage()

func (*SignFileOutput) Reset

func (m *SignFileOutput) Reset()

func (*SignFileOutput) Size

func (m *SignFileOutput) Size() (n int)

func (*SignFileOutput) String

func (m *SignFileOutput) String() string

func (*SignFileOutput) Unmarshal

func (m *SignFileOutput) Unmarshal(dAtA []byte) error

func (*SignFileOutput) XXX_DiscardUnknown

func (m *SignFileOutput) XXX_DiscardUnknown()

func (*SignFileOutput) XXX_Marshal

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

func (*SignFileOutput) XXX_Merge

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

func (*SignFileOutput) XXX_Size

func (m *SignFileOutput) XXX_Size() int

func (*SignFileOutput) XXX_Unmarshal

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

type SignInput

type SignInput struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// In is input file path (if data is not specified).
	In string `protobuf:"bytes,2,opt,name=in,proto3" json:"in,omitempty"`
	// Out is output file path (required if in specified).
	Out    string `protobuf:"bytes,3,opt,name=out,proto3" json:"out,omitempty"`
	Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"`
	// Armored, if true, output will be armored.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Detached, if true, output will be just the signature.
	Detached             bool     `protobuf:"varint,11,opt,name=detached,proto3" json:"detached,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignInput) Descriptor

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

func (*SignInput) GoString

func (this *SignInput) GoString() string

func (*SignInput) Marshal

func (m *SignInput) Marshal() (dAtA []byte, err error)

func (*SignInput) MarshalTo

func (m *SignInput) MarshalTo(dAtA []byte) (int, error)

func (*SignInput) MarshalToSizedBuffer

func (m *SignInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignInput) ProtoMessage

func (*SignInput) ProtoMessage()

func (*SignInput) Reset

func (m *SignInput) Reset()

func (*SignInput) Size

func (m *SignInput) Size() (n int)

func (*SignInput) String

func (m *SignInput) String() string

func (*SignInput) Unmarshal

func (m *SignInput) Unmarshal(dAtA []byte) error

func (*SignInput) XXX_DiscardUnknown

func (m *SignInput) XXX_DiscardUnknown()

func (*SignInput) XXX_Marshal

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

func (*SignInput) XXX_Merge

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

func (*SignInput) XXX_Size

func (m *SignInput) XXX_Size() int

func (*SignInput) XXX_Unmarshal

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

type SignOutput

type SignOutput struct {
	// Data, signed.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	KID                  string   `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignOutput) Descriptor

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

func (*SignOutput) GoString

func (this *SignOutput) GoString() string

func (*SignOutput) Marshal

func (m *SignOutput) Marshal() (dAtA []byte, err error)

func (*SignOutput) MarshalTo

func (m *SignOutput) MarshalTo(dAtA []byte) (int, error)

func (*SignOutput) MarshalToSizedBuffer

func (m *SignOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignOutput) ProtoMessage

func (*SignOutput) ProtoMessage()

func (*SignOutput) Reset

func (m *SignOutput) Reset()

func (*SignOutput) Size

func (m *SignOutput) Size() (n int)

func (*SignOutput) String

func (m *SignOutput) String() string

func (*SignOutput) Unmarshal

func (m *SignOutput) Unmarshal(dAtA []byte) error

func (*SignOutput) XXX_DiscardUnknown

func (m *SignOutput) XXX_DiscardUnknown()

func (*SignOutput) XXX_Marshal

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

func (*SignOutput) XXX_Merge

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

func (*SignOutput) XXX_Size

func (m *SignOutput) XXX_Size() int

func (*SignOutput) XXX_Unmarshal

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

type SignRequest

type SignRequest struct {
	Data   []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Signer string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"`
	// Armored, if true, output will be armored.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Detached, if true, output will be just the signature.
	Detached             bool     `protobuf:"varint,11,opt,name=detached,proto3" json:"detached,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignRequest) Descriptor

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

func (*SignRequest) GoString

func (this *SignRequest) GoString() string

func (*SignRequest) Marshal

func (m *SignRequest) Marshal() (dAtA []byte, err error)

func (*SignRequest) MarshalTo

func (m *SignRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignRequest) MarshalToSizedBuffer

func (m *SignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) Size

func (m *SignRequest) Size() (n int)

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) Unmarshal

func (m *SignRequest) Unmarshal(dAtA []byte) error

func (*SignRequest) XXX_DiscardUnknown

func (m *SignRequest) XXX_DiscardUnknown()

func (*SignRequest) XXX_Marshal

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

func (*SignRequest) XXX_Merge

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

func (*SignRequest) XXX_Size

func (m *SignRequest) XXX_Size() int

func (*SignRequest) XXX_Unmarshal

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

type SignResponse

type SignResponse struct {
	// Data is signed output.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	KID                  string   `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignResponse) Descriptor

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

func (*SignResponse) GoString

func (this *SignResponse) GoString() string

func (*SignResponse) Marshal

func (m *SignResponse) Marshal() (dAtA []byte, err error)

func (*SignResponse) MarshalTo

func (m *SignResponse) MarshalTo(dAtA []byte) (int, error)

func (*SignResponse) MarshalToSizedBuffer

func (m *SignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) Reset

func (m *SignResponse) Reset()

func (*SignResponse) Size

func (m *SignResponse) Size() (n int)

func (*SignResponse) String

func (m *SignResponse) String() string

func (*SignResponse) Unmarshal

func (m *SignResponse) Unmarshal(dAtA []byte) error

func (*SignResponse) XXX_DiscardUnknown

func (m *SignResponse) XXX_DiscardUnknown()

func (*SignResponse) XXX_Marshal

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

func (*SignResponse) XXX_Merge

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

func (*SignResponse) XXX_Size

func (m *SignResponse) XXX_Size() int

func (*SignResponse) XXX_Unmarshal

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

type SortDirection

type SortDirection int32
const (
	SortAsc  SortDirection = 0
	SortDesc SortDirection = 1
)

func (SortDirection) EnumDescriptor

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

func (SortDirection) String

func (x SortDirection) String() string

type Statement

type Statement struct {
	// Sig is the signature bytes.
	Sig []byte `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty"`
	// Data that was signed.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// KID is the key that signed.
	KID string `protobuf:"bytes,3,opt,name=kid,proto3" json:"kid,omitempty"`
	// Seq in a sigchain (1 is root).
	Seq int32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	// Prev is a hash of the previous item in the sigchain.
	Prev []byte `protobuf:"bytes,5,opt,name=prev,proto3" json:"prev,omitempty"`
	// Revoke refers to a previous signed seq to revoke.
	Revoke int32 `protobuf:"varint,6,opt,name=revoke,proto3" json:"revoke,omitempty"`
	// Timestamp ...
	Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Type (optional).
	Type                 string   `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Statement) Descriptor

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

func (*Statement) GoString

func (this *Statement) GoString() string

func (*Statement) Marshal

func (m *Statement) Marshal() (dAtA []byte, err error)

func (*Statement) MarshalTo

func (m *Statement) MarshalTo(dAtA []byte) (int, error)

func (*Statement) MarshalToSizedBuffer

func (m *Statement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Statement) ProtoMessage

func (*Statement) ProtoMessage()

func (*Statement) Reset

func (m *Statement) Reset()

func (*Statement) Size

func (m *Statement) Size() (n int)

func (*Statement) String

func (m *Statement) String() string

func (*Statement) Unmarshal

func (m *Statement) Unmarshal(dAtA []byte) error

func (*Statement) XXX_DiscardUnknown

func (m *Statement) XXX_DiscardUnknown()

func (*Statement) XXX_Marshal

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

func (*Statement) XXX_Merge

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

func (*Statement) XXX_Size

func (m *Statement) XXX_Size() int

func (*Statement) XXX_Unmarshal

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

type StatementCreateRequest

type StatementCreateRequest struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	KID  string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"`
	// Local, if true, won't save to the current key server.
	Local                bool     `protobuf:"varint,5,opt,name=local,proto3" json:"local,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatementCreateRequest) Descriptor

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

func (*StatementCreateRequest) GoString

func (this *StatementCreateRequest) GoString() string

func (*StatementCreateRequest) Marshal

func (m *StatementCreateRequest) Marshal() (dAtA []byte, err error)

func (*StatementCreateRequest) MarshalTo

func (m *StatementCreateRequest) MarshalTo(dAtA []byte) (int, error)

func (*StatementCreateRequest) MarshalToSizedBuffer

func (m *StatementCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatementCreateRequest) ProtoMessage

func (*StatementCreateRequest) ProtoMessage()

func (*StatementCreateRequest) Reset

func (m *StatementCreateRequest) Reset()

func (*StatementCreateRequest) Size

func (m *StatementCreateRequest) Size() (n int)

func (*StatementCreateRequest) String

func (m *StatementCreateRequest) String() string

func (*StatementCreateRequest) Unmarshal

func (m *StatementCreateRequest) Unmarshal(dAtA []byte) error

func (*StatementCreateRequest) XXX_DiscardUnknown

func (m *StatementCreateRequest) XXX_DiscardUnknown()

func (*StatementCreateRequest) XXX_Marshal

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

func (*StatementCreateRequest) XXX_Merge

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

func (*StatementCreateRequest) XXX_Size

func (m *StatementCreateRequest) XXX_Size() int

func (*StatementCreateRequest) XXX_Unmarshal

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

type StatementCreateResponse

type StatementCreateResponse struct {
	Statement            *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*StatementCreateResponse) Descriptor

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

func (*StatementCreateResponse) GoString

func (this *StatementCreateResponse) GoString() string

func (*StatementCreateResponse) Marshal

func (m *StatementCreateResponse) Marshal() (dAtA []byte, err error)

func (*StatementCreateResponse) MarshalTo

func (m *StatementCreateResponse) MarshalTo(dAtA []byte) (int, error)

func (*StatementCreateResponse) MarshalToSizedBuffer

func (m *StatementCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatementCreateResponse) ProtoMessage

func (*StatementCreateResponse) ProtoMessage()

func (*StatementCreateResponse) Reset

func (m *StatementCreateResponse) Reset()

func (*StatementCreateResponse) Size

func (m *StatementCreateResponse) Size() (n int)

func (*StatementCreateResponse) String

func (m *StatementCreateResponse) String() string

func (*StatementCreateResponse) Unmarshal

func (m *StatementCreateResponse) Unmarshal(dAtA []byte) error

func (*StatementCreateResponse) XXX_DiscardUnknown

func (m *StatementCreateResponse) XXX_DiscardUnknown()

func (*StatementCreateResponse) XXX_Marshal

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

func (*StatementCreateResponse) XXX_Merge

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

func (*StatementCreateResponse) XXX_Size

func (m *StatementCreateResponse) XXX_Size() int

func (*StatementCreateResponse) XXX_Unmarshal

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

type StatementRequest

type StatementRequest struct {
	KID                  string   `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	Seq                  int32    `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatementRequest) Descriptor

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

func (*StatementRequest) GoString

func (this *StatementRequest) GoString() string

func (*StatementRequest) Marshal

func (m *StatementRequest) Marshal() (dAtA []byte, err error)

func (*StatementRequest) MarshalTo

func (m *StatementRequest) MarshalTo(dAtA []byte) (int, error)

func (*StatementRequest) MarshalToSizedBuffer

func (m *StatementRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatementRequest) ProtoMessage

func (*StatementRequest) ProtoMessage()

func (*StatementRequest) Reset

func (m *StatementRequest) Reset()

func (*StatementRequest) Size

func (m *StatementRequest) Size() (n int)

func (*StatementRequest) String

func (m *StatementRequest) String() string

func (*StatementRequest) Unmarshal

func (m *StatementRequest) Unmarshal(dAtA []byte) error

func (*StatementRequest) XXX_DiscardUnknown

func (m *StatementRequest) XXX_DiscardUnknown()

func (*StatementRequest) XXX_Marshal

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

func (*StatementRequest) XXX_Merge

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

func (*StatementRequest) XXX_Size

func (m *StatementRequest) XXX_Size() int

func (*StatementRequest) XXX_Unmarshal

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

type StatementResponse

type StatementResponse struct {
	Statement            *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*StatementResponse) Descriptor

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

func (*StatementResponse) GoString

func (this *StatementResponse) GoString() string

func (*StatementResponse) Marshal

func (m *StatementResponse) Marshal() (dAtA []byte, err error)

func (*StatementResponse) MarshalTo

func (m *StatementResponse) MarshalTo(dAtA []byte) (int, error)

func (*StatementResponse) MarshalToSizedBuffer

func (m *StatementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatementResponse) ProtoMessage

func (*StatementResponse) ProtoMessage()

func (*StatementResponse) Reset

func (m *StatementResponse) Reset()

func (*StatementResponse) Size

func (m *StatementResponse) Size() (n int)

func (*StatementResponse) String

func (m *StatementResponse) String() string

func (*StatementResponse) Unmarshal

func (m *StatementResponse) Unmarshal(dAtA []byte) error

func (*StatementResponse) XXX_DiscardUnknown

func (m *StatementResponse) XXX_DiscardUnknown()

func (*StatementResponse) XXX_Marshal

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

func (*StatementResponse) XXX_Merge

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

func (*StatementResponse) XXX_Size

func (m *StatementResponse) XXX_Size() int

func (*StatementResponse) XXX_Unmarshal

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

type StatementRevokeRequest

type StatementRevokeRequest struct {
	// Seq to revoke.
	Seq int32  `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	KID string `protobuf:"bytes,2,opt,name=kid,proto3" json:"kid,omitempty"`
	// Local, if true, won't save to the current key server.
	Local                bool     `protobuf:"varint,5,opt,name=local,proto3" json:"local,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatementRevokeRequest) Descriptor

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

func (*StatementRevokeRequest) GoString

func (this *StatementRevokeRequest) GoString() string

func (*StatementRevokeRequest) Marshal

func (m *StatementRevokeRequest) Marshal() (dAtA []byte, err error)

func (*StatementRevokeRequest) MarshalTo

func (m *StatementRevokeRequest) MarshalTo(dAtA []byte) (int, error)

func (*StatementRevokeRequest) MarshalToSizedBuffer

func (m *StatementRevokeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatementRevokeRequest) ProtoMessage

func (*StatementRevokeRequest) ProtoMessage()

func (*StatementRevokeRequest) Reset

func (m *StatementRevokeRequest) Reset()

func (*StatementRevokeRequest) Size

func (m *StatementRevokeRequest) Size() (n int)

func (*StatementRevokeRequest) String

func (m *StatementRevokeRequest) String() string

func (*StatementRevokeRequest) Unmarshal

func (m *StatementRevokeRequest) Unmarshal(dAtA []byte) error

func (*StatementRevokeRequest) XXX_DiscardUnknown

func (m *StatementRevokeRequest) XXX_DiscardUnknown()

func (*StatementRevokeRequest) XXX_Marshal

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

func (*StatementRevokeRequest) XXX_Merge

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

func (*StatementRevokeRequest) XXX_Size

func (m *StatementRevokeRequest) XXX_Size() int

func (*StatementRevokeRequest) XXX_Unmarshal

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

type StatementRevokeResponse

type StatementRevokeResponse struct {
	Statement            *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*StatementRevokeResponse) Descriptor

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

func (*StatementRevokeResponse) GoString

func (this *StatementRevokeResponse) GoString() string

func (*StatementRevokeResponse) Marshal

func (m *StatementRevokeResponse) Marshal() (dAtA []byte, err error)

func (*StatementRevokeResponse) MarshalTo

func (m *StatementRevokeResponse) MarshalTo(dAtA []byte) (int, error)

func (*StatementRevokeResponse) MarshalToSizedBuffer

func (m *StatementRevokeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StatementRevokeResponse) ProtoMessage

func (*StatementRevokeResponse) ProtoMessage()

func (*StatementRevokeResponse) Reset

func (m *StatementRevokeResponse) Reset()

func (*StatementRevokeResponse) Size

func (m *StatementRevokeResponse) Size() (n int)

func (*StatementRevokeResponse) String

func (m *StatementRevokeResponse) String() string

func (*StatementRevokeResponse) Unmarshal

func (m *StatementRevokeResponse) Unmarshal(dAtA []byte) error

func (*StatementRevokeResponse) XXX_DiscardUnknown

func (m *StatementRevokeResponse) XXX_DiscardUnknown()

func (*StatementRevokeResponse) XXX_Marshal

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

func (*StatementRevokeResponse) XXX_Merge

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

func (*StatementRevokeResponse) XXX_Size

func (m *StatementRevokeResponse) XXX_Size() int

func (*StatementRevokeResponse) XXX_Unmarshal

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

type UnimplementedKeysServer

type UnimplementedKeysServer struct {
}

UnimplementedKeysServer can be embedded to have forward compatible implementations.

func (*UnimplementedKeysServer) AdminCheck

func (*UnimplementedKeysServer) AdminSignURL

func (*UnimplementedKeysServer) AuthLock

func (*UnimplementedKeysServer) AuthSetup

func (*UnimplementedKeysServer) AuthUnlock

func (*UnimplementedKeysServer) Collections

func (*UnimplementedKeysServer) Decrypt

func (*UnimplementedKeysServer) DecryptArmoredStream

func (*UnimplementedKeysServer) DecryptFile

func (*UnimplementedKeysServer) DecryptStream

func (*UnimplementedKeysServer) DocumentDelete

func (*UnimplementedKeysServer) Documents

func (*UnimplementedKeysServer) Encrypt

func (*UnimplementedKeysServer) EncryptFile

func (*UnimplementedKeysServer) EncryptStream

func (*UnimplementedKeysServer) GitSetup

func (*UnimplementedKeysServer) Item

func (*UnimplementedKeysServer) Items

func (*UnimplementedKeysServer) Key

func (*UnimplementedKeysServer) KeyExport

func (*UnimplementedKeysServer) KeyGenerate

func (*UnimplementedKeysServer) KeyImport

func (*UnimplementedKeysServer) KeyRemove

func (*UnimplementedKeysServer) Keys

func (*UnimplementedKeysServer) MessageCreate

func (*UnimplementedKeysServer) MessagePrepare

func (*UnimplementedKeysServer) Messages

func (*UnimplementedKeysServer) PreferenceSet

func (*UnimplementedKeysServer) Preferences

func (*UnimplementedKeysServer) Pull

func (*UnimplementedKeysServer) Push

func (*UnimplementedKeysServer) Rand

func (*UnimplementedKeysServer) RandPassword

func (*UnimplementedKeysServer) RuntimeStatus

func (*UnimplementedKeysServer) Search

func (*UnimplementedKeysServer) Secret

func (*UnimplementedKeysServer) SecretRemove

func (*UnimplementedKeysServer) SecretSave

func (*UnimplementedKeysServer) Secrets

func (*UnimplementedKeysServer) Sigchain

func (*UnimplementedKeysServer) Sign

func (*UnimplementedKeysServer) SignFile

func (*UnimplementedKeysServer) SignStream

func (*UnimplementedKeysServer) SigncryptOpenArmoredStream

func (*UnimplementedKeysServer) SigncryptOpenArmoredStream(srv Keys_SigncryptOpenArmoredStreamServer) error

func (*UnimplementedKeysServer) SigncryptOpenStream

func (*UnimplementedKeysServer) Statement

func (*UnimplementedKeysServer) StatementCreate

func (*UnimplementedKeysServer) StatementRevoke

func (*UnimplementedKeysServer) User

func (*UnimplementedKeysServer) UserAdd

func (*UnimplementedKeysServer) UserSearch

func (*UnimplementedKeysServer) UserService

func (*UnimplementedKeysServer) UserSign

func (*UnimplementedKeysServer) Verify

func (*UnimplementedKeysServer) VerifyArmoredStream

func (*UnimplementedKeysServer) VerifyDetached

func (*UnimplementedKeysServer) VerifyDetachedFile

func (*UnimplementedKeysServer) VerifyDetachedStream

func (*UnimplementedKeysServer) VerifyFile

func (*UnimplementedKeysServer) VerifyStream

func (*UnimplementedKeysServer) Wormhole

type User

type User struct {
	ID                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	KID                  string     `protobuf:"bytes,3,opt,name=kid,proto3" json:"kid,omitempty"`
	Seq                  int32      `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"`
	Service              string     `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"`
	URL                  string     `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	Status               UserStatus `protobuf:"varint,10,opt,name=status,proto3,enum=service.UserStatus" json:"status,omitempty"`
	VerifiedAt           int64      `protobuf:"varint,11,opt,name=verifiedAt,proto3" json:"verifiedAt,omitempty"`
	Timestamp            int64      `protobuf:"varint,12,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Err                  string     `protobuf:"bytes,20,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*User) Descriptor

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

func (*User) GoString

func (this *User) GoString() string

func (*User) Marshal

func (m *User) Marshal() (dAtA []byte, err error)

func (*User) MarshalTo

func (m *User) MarshalTo(dAtA []byte) (int, error)

func (*User) MarshalToSizedBuffer

func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (User) SigchainURL

func (u User) SigchainURL() string

SigchainURL is the sigchain URL for the user, or empty string if not set.

func (*User) Size

func (m *User) Size() (n int)

func (*User) String

func (m *User) String() string

func (*User) Unmarshal

func (m *User) Unmarshal(dAtA []byte) error

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

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

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

type UserAddRequest

type UserAddRequest struct {
	// KID to use, or if empty the current key.
	KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	// Service such as twitter, github.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Name is username on the service.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// URL is location of signed message on the service.
	URL string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// Local, if true, won't save to the current key server.
	Local                bool     `protobuf:"varint,5,opt,name=local,proto3" json:"local,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserAddRequest) Descriptor

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

func (*UserAddRequest) GoString

func (this *UserAddRequest) GoString() string

func (*UserAddRequest) Marshal

func (m *UserAddRequest) Marshal() (dAtA []byte, err error)

func (*UserAddRequest) MarshalTo

func (m *UserAddRequest) MarshalTo(dAtA []byte) (int, error)

func (*UserAddRequest) MarshalToSizedBuffer

func (m *UserAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserAddRequest) ProtoMessage

func (*UserAddRequest) ProtoMessage()

func (*UserAddRequest) Reset

func (m *UserAddRequest) Reset()

func (*UserAddRequest) Size

func (m *UserAddRequest) Size() (n int)

func (*UserAddRequest) String

func (m *UserAddRequest) String() string

func (*UserAddRequest) Unmarshal

func (m *UserAddRequest) Unmarshal(dAtA []byte) error

func (*UserAddRequest) XXX_DiscardUnknown

func (m *UserAddRequest) XXX_DiscardUnknown()

func (*UserAddRequest) XXX_Marshal

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

func (*UserAddRequest) XXX_Merge

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

func (*UserAddRequest) XXX_Size

func (m *UserAddRequest) XXX_Size() int

func (*UserAddRequest) XXX_Unmarshal

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

type UserAddResponse

type UserAddResponse struct {
	User                 *User      `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Statement            *Statement `protobuf:"bytes,2,opt,name=statement,proto3" json:"statement,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*UserAddResponse) Descriptor

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

func (*UserAddResponse) GoString

func (this *UserAddResponse) GoString() string

func (*UserAddResponse) Marshal

func (m *UserAddResponse) Marshal() (dAtA []byte, err error)

func (*UserAddResponse) MarshalTo

func (m *UserAddResponse) MarshalTo(dAtA []byte) (int, error)

func (*UserAddResponse) MarshalToSizedBuffer

func (m *UserAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserAddResponse) ProtoMessage

func (*UserAddResponse) ProtoMessage()

func (*UserAddResponse) Reset

func (m *UserAddResponse) Reset()

func (*UserAddResponse) Size

func (m *UserAddResponse) Size() (n int)

func (*UserAddResponse) String

func (m *UserAddResponse) String() string

func (*UserAddResponse) Unmarshal

func (m *UserAddResponse) Unmarshal(dAtA []byte) error

func (*UserAddResponse) XXX_DiscardUnknown

func (m *UserAddResponse) XXX_DiscardUnknown()

func (*UserAddResponse) XXX_Marshal

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

func (*UserAddResponse) XXX_Merge

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

func (*UserAddResponse) XXX_Size

func (m *UserAddResponse) XXX_Size() int

func (*UserAddResponse) XXX_Unmarshal

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

type UserRequest

type UserRequest struct {
	KID                  string   `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	Local                bool     `protobuf:"varint,4,opt,name=local,proto3" json:"local,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserRequest) Descriptor

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

func (*UserRequest) GoString

func (this *UserRequest) GoString() string

func (*UserRequest) Marshal

func (m *UserRequest) Marshal() (dAtA []byte, err error)

func (*UserRequest) MarshalTo

func (m *UserRequest) MarshalTo(dAtA []byte) (int, error)

func (*UserRequest) MarshalToSizedBuffer

func (m *UserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserRequest) ProtoMessage

func (*UserRequest) ProtoMessage()

func (*UserRequest) Reset

func (m *UserRequest) Reset()

func (*UserRequest) Size

func (m *UserRequest) Size() (n int)

func (*UserRequest) String

func (m *UserRequest) String() string

func (*UserRequest) Unmarshal

func (m *UserRequest) Unmarshal(dAtA []byte) error

func (*UserRequest) XXX_DiscardUnknown

func (m *UserRequest) XXX_DiscardUnknown()

func (*UserRequest) XXX_Marshal

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

func (*UserRequest) XXX_Merge

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

func (*UserRequest) XXX_Size

func (m *UserRequest) XXX_Size() int

func (*UserRequest) XXX_Unmarshal

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

type UserResponse

type UserResponse struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserResponse) Descriptor

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

func (*UserResponse) GoString

func (this *UserResponse) GoString() string

func (*UserResponse) Marshal

func (m *UserResponse) Marshal() (dAtA []byte, err error)

func (*UserResponse) MarshalTo

func (m *UserResponse) MarshalTo(dAtA []byte) (int, error)

func (*UserResponse) MarshalToSizedBuffer

func (m *UserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserResponse) ProtoMessage

func (*UserResponse) ProtoMessage()

func (*UserResponse) Reset

func (m *UserResponse) Reset()

func (*UserResponse) Size

func (m *UserResponse) Size() (n int)

func (*UserResponse) String

func (m *UserResponse) String() string

func (*UserResponse) Unmarshal

func (m *UserResponse) Unmarshal(dAtA []byte) error

func (*UserResponse) XXX_DiscardUnknown

func (m *UserResponse) XXX_DiscardUnknown()

func (*UserResponse) XXX_Marshal

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

func (*UserResponse) XXX_Merge

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

func (*UserResponse) XXX_Size

func (m *UserResponse) XXX_Size() int

func (*UserResponse) XXX_Unmarshal

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

type UserSearchRequest

type UserSearchRequest struct {
	Query                string   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Limit                int32    `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Local                bool     `protobuf:"varint,4,opt,name=local,proto3" json:"local,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserSearchRequest) Descriptor

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

func (*UserSearchRequest) GoString

func (this *UserSearchRequest) GoString() string

func (*UserSearchRequest) Marshal

func (m *UserSearchRequest) Marshal() (dAtA []byte, err error)

func (*UserSearchRequest) MarshalTo

func (m *UserSearchRequest) MarshalTo(dAtA []byte) (int, error)

func (*UserSearchRequest) MarshalToSizedBuffer

func (m *UserSearchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserSearchRequest) ProtoMessage

func (*UserSearchRequest) ProtoMessage()

func (*UserSearchRequest) Reset

func (m *UserSearchRequest) Reset()

func (*UserSearchRequest) Size

func (m *UserSearchRequest) Size() (n int)

func (*UserSearchRequest) String

func (m *UserSearchRequest) String() string

func (*UserSearchRequest) Unmarshal

func (m *UserSearchRequest) Unmarshal(dAtA []byte) error

func (*UserSearchRequest) XXX_DiscardUnknown

func (m *UserSearchRequest) XXX_DiscardUnknown()

func (*UserSearchRequest) XXX_Marshal

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

func (*UserSearchRequest) XXX_Merge

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

func (*UserSearchRequest) XXX_Size

func (m *UserSearchRequest) XXX_Size() int

func (*UserSearchRequest) XXX_Unmarshal

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

type UserSearchResponse

type UserSearchResponse struct {
	Users                []*User  `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserSearchResponse) Descriptor

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

func (*UserSearchResponse) GoString

func (this *UserSearchResponse) GoString() string

func (*UserSearchResponse) Marshal

func (m *UserSearchResponse) Marshal() (dAtA []byte, err error)

func (*UserSearchResponse) MarshalTo

func (m *UserSearchResponse) MarshalTo(dAtA []byte) (int, error)

func (*UserSearchResponse) MarshalToSizedBuffer

func (m *UserSearchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserSearchResponse) ProtoMessage

func (*UserSearchResponse) ProtoMessage()

func (*UserSearchResponse) Reset

func (m *UserSearchResponse) Reset()

func (*UserSearchResponse) Size

func (m *UserSearchResponse) Size() (n int)

func (*UserSearchResponse) String

func (m *UserSearchResponse) String() string

func (*UserSearchResponse) Unmarshal

func (m *UserSearchResponse) Unmarshal(dAtA []byte) error

func (*UserSearchResponse) XXX_DiscardUnknown

func (m *UserSearchResponse) XXX_DiscardUnknown()

func (*UserSearchResponse) XXX_Marshal

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

func (*UserSearchResponse) XXX_Merge

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

func (*UserSearchResponse) XXX_Size

func (m *UserSearchResponse) XXX_Size() int

func (*UserSearchResponse) XXX_Unmarshal

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

type UserServiceRequest

type UserServiceRequest struct {
	// KID to use, or if empty the current key.
	KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	// Service such as twitter, github.
	Service              string   `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserServiceRequest) Descriptor

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

func (*UserServiceRequest) GoString

func (this *UserServiceRequest) GoString() string

func (*UserServiceRequest) Marshal

func (m *UserServiceRequest) Marshal() (dAtA []byte, err error)

func (*UserServiceRequest) MarshalTo

func (m *UserServiceRequest) MarshalTo(dAtA []byte) (int, error)

func (*UserServiceRequest) MarshalToSizedBuffer

func (m *UserServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserServiceRequest) ProtoMessage

func (*UserServiceRequest) ProtoMessage()

func (*UserServiceRequest) Reset

func (m *UserServiceRequest) Reset()

func (*UserServiceRequest) Size

func (m *UserServiceRequest) Size() (n int)

func (*UserServiceRequest) String

func (m *UserServiceRequest) String() string

func (*UserServiceRequest) Unmarshal

func (m *UserServiceRequest) Unmarshal(dAtA []byte) error

func (*UserServiceRequest) XXX_DiscardUnknown

func (m *UserServiceRequest) XXX_DiscardUnknown()

func (*UserServiceRequest) XXX_Marshal

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

func (*UserServiceRequest) XXX_Merge

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

func (*UserServiceRequest) XXX_Size

func (m *UserServiceRequest) XXX_Size() int

func (*UserServiceRequest) XXX_Unmarshal

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

type UserServiceResponse

type UserServiceResponse struct {
	// Service such as twitter, github.
	Service              string   `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserServiceResponse) Descriptor

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

func (*UserServiceResponse) GoString

func (this *UserServiceResponse) GoString() string

func (*UserServiceResponse) Marshal

func (m *UserServiceResponse) Marshal() (dAtA []byte, err error)

func (*UserServiceResponse) MarshalTo

func (m *UserServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*UserServiceResponse) MarshalToSizedBuffer

func (m *UserServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserServiceResponse) ProtoMessage

func (*UserServiceResponse) ProtoMessage()

func (*UserServiceResponse) Reset

func (m *UserServiceResponse) Reset()

func (*UserServiceResponse) Size

func (m *UserServiceResponse) Size() (n int)

func (*UserServiceResponse) String

func (m *UserServiceResponse) String() string

func (*UserServiceResponse) Unmarshal

func (m *UserServiceResponse) Unmarshal(dAtA []byte) error

func (*UserServiceResponse) XXX_DiscardUnknown

func (m *UserServiceResponse) XXX_DiscardUnknown()

func (*UserServiceResponse) XXX_Marshal

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

func (*UserServiceResponse) XXX_Merge

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

func (*UserServiceResponse) XXX_Size

func (m *UserServiceResponse) XXX_Size() int

func (*UserServiceResponse) XXX_Unmarshal

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

type UserSignRequest

type UserSignRequest struct {
	// KID to use, or if empty the current key.
	KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"`
	// Service such as twitter, github.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Name is username on the service.
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserSignRequest) Descriptor

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

func (*UserSignRequest) GoString

func (this *UserSignRequest) GoString() string

func (*UserSignRequest) Marshal

func (m *UserSignRequest) Marshal() (dAtA []byte, err error)

func (*UserSignRequest) MarshalTo

func (m *UserSignRequest) MarshalTo(dAtA []byte) (int, error)

func (*UserSignRequest) MarshalToSizedBuffer

func (m *UserSignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserSignRequest) ProtoMessage

func (*UserSignRequest) ProtoMessage()

func (*UserSignRequest) Reset

func (m *UserSignRequest) Reset()

func (*UserSignRequest) Size

func (m *UserSignRequest) Size() (n int)

func (*UserSignRequest) String

func (m *UserSignRequest) String() string

func (*UserSignRequest) Unmarshal

func (m *UserSignRequest) Unmarshal(dAtA []byte) error

func (*UserSignRequest) XXX_DiscardUnknown

func (m *UserSignRequest) XXX_DiscardUnknown()

func (*UserSignRequest) XXX_Marshal

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

func (*UserSignRequest) XXX_Merge

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

func (*UserSignRequest) XXX_Size

func (m *UserSignRequest) XXX_Size() int

func (*UserSignRequest) XXX_Unmarshal

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

type UserSignResponse

type UserSignResponse struct {
	// Message is signed message.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Name in request.
	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 (*UserSignResponse) Descriptor

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

func (*UserSignResponse) GoString

func (this *UserSignResponse) GoString() string

func (*UserSignResponse) Marshal

func (m *UserSignResponse) Marshal() (dAtA []byte, err error)

func (*UserSignResponse) MarshalTo

func (m *UserSignResponse) MarshalTo(dAtA []byte) (int, error)

func (*UserSignResponse) MarshalToSizedBuffer

func (m *UserSignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserSignResponse) ProtoMessage

func (*UserSignResponse) ProtoMessage()

func (*UserSignResponse) Reset

func (m *UserSignResponse) Reset()

func (*UserSignResponse) Size

func (m *UserSignResponse) Size() (n int)

func (*UserSignResponse) String

func (m *UserSignResponse) String() string

func (*UserSignResponse) Unmarshal

func (m *UserSignResponse) Unmarshal(dAtA []byte) error

func (*UserSignResponse) XXX_DiscardUnknown

func (m *UserSignResponse) XXX_DiscardUnknown()

func (*UserSignResponse) XXX_Marshal

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

func (*UserSignResponse) XXX_Merge

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

func (*UserSignResponse) XXX_Size

func (m *UserSignResponse) XXX_Size() int

func (*UserSignResponse) XXX_Unmarshal

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

type UserStatus

type UserStatus int32
const (
	UserStatusUnknown          UserStatus = 0
	UserStatusOK               UserStatus = 1
	UserStatusResourceNotFound UserStatus = 20
	UserStatusContentNotFound  UserStatus = 30
	UserStatusContentInvalid   UserStatus = 31
	UserStatusConnFailure      UserStatus = 40
	UserStatusFailure          UserStatus = 50
)

func (UserStatus) EnumDescriptor

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

func (UserStatus) String

func (x UserStatus) String() string

type VerifyDetachedFileInput

type VerifyDetachedFileInput struct {
	// In is input file path.
	In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
	// Signature (detached).
	Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
	// Armored, if true, sig is armored.
	Armored              bool     `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyDetachedFileInput) Descriptor

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

func (*VerifyDetachedFileInput) GoString

func (this *VerifyDetachedFileInput) GoString() string

func (*VerifyDetachedFileInput) Marshal

func (m *VerifyDetachedFileInput) Marshal() (dAtA []byte, err error)

func (*VerifyDetachedFileInput) MarshalTo

func (m *VerifyDetachedFileInput) MarshalTo(dAtA []byte) (int, error)

func (*VerifyDetachedFileInput) MarshalToSizedBuffer

func (m *VerifyDetachedFileInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyDetachedFileInput) ProtoMessage

func (*VerifyDetachedFileInput) ProtoMessage()

func (*VerifyDetachedFileInput) Reset

func (m *VerifyDetachedFileInput) Reset()

func (*VerifyDetachedFileInput) Size

func (m *VerifyDetachedFileInput) Size() (n int)

func (*VerifyDetachedFileInput) String

func (m *VerifyDetachedFileInput) String() string

func (*VerifyDetachedFileInput) Unmarshal

func (m *VerifyDetachedFileInput) Unmarshal(dAtA []byte) error

func (*VerifyDetachedFileInput) XXX_DiscardUnknown

func (m *VerifyDetachedFileInput) XXX_DiscardUnknown()

func (*VerifyDetachedFileInput) XXX_Marshal

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

func (*VerifyDetachedFileInput) XXX_Merge

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

func (*VerifyDetachedFileInput) XXX_Size

func (m *VerifyDetachedFileInput) XXX_Size() int

func (*VerifyDetachedFileInput) XXX_Unmarshal

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

type VerifyDetachedInput

type VerifyDetachedInput struct {
	// Data to verify.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Signature (detached).
	Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
	// Armored, if true, sig is armored.
	Armored              bool     `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyDetachedInput) Descriptor

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

func (*VerifyDetachedInput) GoString

func (this *VerifyDetachedInput) GoString() string

func (*VerifyDetachedInput) Marshal

func (m *VerifyDetachedInput) Marshal() (dAtA []byte, err error)

func (*VerifyDetachedInput) MarshalTo

func (m *VerifyDetachedInput) MarshalTo(dAtA []byte) (int, error)

func (*VerifyDetachedInput) MarshalToSizedBuffer

func (m *VerifyDetachedInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyDetachedInput) ProtoMessage

func (*VerifyDetachedInput) ProtoMessage()

func (*VerifyDetachedInput) Reset

func (m *VerifyDetachedInput) Reset()

func (*VerifyDetachedInput) Size

func (m *VerifyDetachedInput) Size() (n int)

func (*VerifyDetachedInput) String

func (m *VerifyDetachedInput) String() string

func (*VerifyDetachedInput) Unmarshal

func (m *VerifyDetachedInput) Unmarshal(dAtA []byte) error

func (*VerifyDetachedInput) XXX_DiscardUnknown

func (m *VerifyDetachedInput) XXX_DiscardUnknown()

func (*VerifyDetachedInput) XXX_Marshal

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

func (*VerifyDetachedInput) XXX_Merge

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

func (*VerifyDetachedInput) XXX_Size

func (m *VerifyDetachedInput) XXX_Size() int

func (*VerifyDetachedInput) XXX_Unmarshal

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

type VerifyDetachedRequest

type VerifyDetachedRequest struct {
	// Data to verify.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Sig  []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
	// Armored, if true, sig is armored.
	Armored              bool     `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyDetachedRequest) Descriptor

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

func (*VerifyDetachedRequest) GoString

func (this *VerifyDetachedRequest) GoString() string

func (*VerifyDetachedRequest) Marshal

func (m *VerifyDetachedRequest) Marshal() (dAtA []byte, err error)

func (*VerifyDetachedRequest) MarshalTo

func (m *VerifyDetachedRequest) MarshalTo(dAtA []byte) (int, error)

func (*VerifyDetachedRequest) MarshalToSizedBuffer

func (m *VerifyDetachedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyDetachedRequest) ProtoMessage

func (*VerifyDetachedRequest) ProtoMessage()

func (*VerifyDetachedRequest) Reset

func (m *VerifyDetachedRequest) Reset()

func (*VerifyDetachedRequest) Size

func (m *VerifyDetachedRequest) Size() (n int)

func (*VerifyDetachedRequest) String

func (m *VerifyDetachedRequest) String() string

func (*VerifyDetachedRequest) Unmarshal

func (m *VerifyDetachedRequest) Unmarshal(dAtA []byte) error

func (*VerifyDetachedRequest) XXX_DiscardUnknown

func (m *VerifyDetachedRequest) XXX_DiscardUnknown()

func (*VerifyDetachedRequest) XXX_Marshal

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

func (*VerifyDetachedRequest) XXX_Merge

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

func (*VerifyDetachedRequest) XXX_Size

func (m *VerifyDetachedRequest) XXX_Size() int

func (*VerifyDetachedRequest) XXX_Unmarshal

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

type VerifyDetachedResponse

type VerifyDetachedResponse struct {
	Signer               *Key     `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyDetachedResponse) Descriptor

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

func (*VerifyDetachedResponse) GoString

func (this *VerifyDetachedResponse) GoString() string

func (*VerifyDetachedResponse) Marshal

func (m *VerifyDetachedResponse) Marshal() (dAtA []byte, err error)

func (*VerifyDetachedResponse) MarshalTo

func (m *VerifyDetachedResponse) MarshalTo(dAtA []byte) (int, error)

func (*VerifyDetachedResponse) MarshalToSizedBuffer

func (m *VerifyDetachedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyDetachedResponse) ProtoMessage

func (*VerifyDetachedResponse) ProtoMessage()

func (*VerifyDetachedResponse) Reset

func (m *VerifyDetachedResponse) Reset()

func (*VerifyDetachedResponse) Size

func (m *VerifyDetachedResponse) Size() (n int)

func (*VerifyDetachedResponse) String

func (m *VerifyDetachedResponse) String() string

func (*VerifyDetachedResponse) Unmarshal

func (m *VerifyDetachedResponse) Unmarshal(dAtA []byte) error

func (*VerifyDetachedResponse) XXX_DiscardUnknown

func (m *VerifyDetachedResponse) XXX_DiscardUnknown()

func (*VerifyDetachedResponse) XXX_Marshal

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

func (*VerifyDetachedResponse) XXX_Merge

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

func (*VerifyDetachedResponse) XXX_Size

func (m *VerifyDetachedResponse) XXX_Size() int

func (*VerifyDetachedResponse) XXX_Unmarshal

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

type VerifyFileInput

type VerifyFileInput struct {
	// In is input file path.
	In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
	// Out is output file path.
	Out string `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"`
	// Armored, if true, sig is armored.
	Armored              bool     `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyFileInput) Descriptor

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

func (*VerifyFileInput) GoString

func (this *VerifyFileInput) GoString() string

func (*VerifyFileInput) Marshal

func (m *VerifyFileInput) Marshal() (dAtA []byte, err error)

func (*VerifyFileInput) MarshalTo

func (m *VerifyFileInput) MarshalTo(dAtA []byte) (int, error)

func (*VerifyFileInput) MarshalToSizedBuffer

func (m *VerifyFileInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyFileInput) ProtoMessage

func (*VerifyFileInput) ProtoMessage()

func (*VerifyFileInput) Reset

func (m *VerifyFileInput) Reset()

func (*VerifyFileInput) Size

func (m *VerifyFileInput) Size() (n int)

func (*VerifyFileInput) String

func (m *VerifyFileInput) String() string

func (*VerifyFileInput) Unmarshal

func (m *VerifyFileInput) Unmarshal(dAtA []byte) error

func (*VerifyFileInput) XXX_DiscardUnknown

func (m *VerifyFileInput) XXX_DiscardUnknown()

func (*VerifyFileInput) XXX_Marshal

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

func (*VerifyFileInput) XXX_Merge

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

func (*VerifyFileInput) XXX_Size

func (m *VerifyFileInput) XXX_Size() int

func (*VerifyFileInput) XXX_Unmarshal

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

type VerifyFileOutput

type VerifyFileOutput struct {
	Signer               *Key     `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Out                  string   `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyFileOutput) Descriptor

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

func (*VerifyFileOutput) GoString

func (this *VerifyFileOutput) GoString() string

func (*VerifyFileOutput) Marshal

func (m *VerifyFileOutput) Marshal() (dAtA []byte, err error)

func (*VerifyFileOutput) MarshalTo

func (m *VerifyFileOutput) MarshalTo(dAtA []byte) (int, error)

func (*VerifyFileOutput) MarshalToSizedBuffer

func (m *VerifyFileOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyFileOutput) ProtoMessage

func (*VerifyFileOutput) ProtoMessage()

func (*VerifyFileOutput) Reset

func (m *VerifyFileOutput) Reset()

func (*VerifyFileOutput) Size

func (m *VerifyFileOutput) Size() (n int)

func (*VerifyFileOutput) String

func (m *VerifyFileOutput) String() string

func (*VerifyFileOutput) Unmarshal

func (m *VerifyFileOutput) Unmarshal(dAtA []byte) error

func (*VerifyFileOutput) XXX_DiscardUnknown

func (m *VerifyFileOutput) XXX_DiscardUnknown()

func (*VerifyFileOutput) XXX_Marshal

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

func (*VerifyFileOutput) XXX_Merge

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

func (*VerifyFileOutput) XXX_Size

func (m *VerifyFileOutput) XXX_Size() int

func (*VerifyFileOutput) XXX_Unmarshal

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

type VerifyInput

type VerifyInput struct {
	// Data to verify.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyInput) Descriptor

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

func (*VerifyInput) GoString

func (this *VerifyInput) GoString() string

func (*VerifyInput) Marshal

func (m *VerifyInput) Marshal() (dAtA []byte, err error)

func (*VerifyInput) MarshalTo

func (m *VerifyInput) MarshalTo(dAtA []byte) (int, error)

func (*VerifyInput) MarshalToSizedBuffer

func (m *VerifyInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyInput) ProtoMessage

func (*VerifyInput) ProtoMessage()

func (*VerifyInput) Reset

func (m *VerifyInput) Reset()

func (*VerifyInput) Size

func (m *VerifyInput) Size() (n int)

func (*VerifyInput) String

func (m *VerifyInput) String() string

func (*VerifyInput) Unmarshal

func (m *VerifyInput) Unmarshal(dAtA []byte) error

func (*VerifyInput) XXX_DiscardUnknown

func (m *VerifyInput) XXX_DiscardUnknown()

func (*VerifyInput) XXX_Marshal

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

func (*VerifyInput) XXX_Merge

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

func (*VerifyInput) XXX_Size

func (m *VerifyInput) XXX_Size() int

func (*VerifyInput) XXX_Unmarshal

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

type VerifyOutput

type VerifyOutput struct {
	// Data, verified. If empty, is EOF.
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Signer               *Key     `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyOutput) Descriptor

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

func (*VerifyOutput) GoString

func (this *VerifyOutput) GoString() string

func (*VerifyOutput) Marshal

func (m *VerifyOutput) Marshal() (dAtA []byte, err error)

func (*VerifyOutput) MarshalTo

func (m *VerifyOutput) MarshalTo(dAtA []byte) (int, error)

func (*VerifyOutput) MarshalToSizedBuffer

func (m *VerifyOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyOutput) ProtoMessage

func (*VerifyOutput) ProtoMessage()

func (*VerifyOutput) Reset

func (m *VerifyOutput) Reset()

func (*VerifyOutput) Size

func (m *VerifyOutput) Size() (n int)

func (*VerifyOutput) String

func (m *VerifyOutput) String() string

func (*VerifyOutput) Unmarshal

func (m *VerifyOutput) Unmarshal(dAtA []byte) error

func (*VerifyOutput) XXX_DiscardUnknown

func (m *VerifyOutput) XXX_DiscardUnknown()

func (*VerifyOutput) XXX_Marshal

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

func (*VerifyOutput) XXX_Merge

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

func (*VerifyOutput) XXX_Size

func (m *VerifyOutput) XXX_Size() int

func (*VerifyOutput) XXX_Unmarshal

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

type VerifyRequest

type VerifyRequest struct {
	// Data is verified output.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Armored, if true, output will be armored.
	Armored bool `protobuf:"varint,10,opt,name=armored,proto3" json:"armored,omitempty"`
	// Detached signature.
	Detached             bool     `protobuf:"varint,11,opt,name=detached,proto3" json:"detached,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyRequest) Descriptor

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

func (*VerifyRequest) GoString

func (this *VerifyRequest) GoString() string

func (*VerifyRequest) Marshal

func (m *VerifyRequest) Marshal() (dAtA []byte, err error)

func (*VerifyRequest) MarshalTo

func (m *VerifyRequest) MarshalTo(dAtA []byte) (int, error)

func (*VerifyRequest) MarshalToSizedBuffer

func (m *VerifyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyRequest) ProtoMessage

func (*VerifyRequest) ProtoMessage()

func (*VerifyRequest) Reset

func (m *VerifyRequest) Reset()

func (*VerifyRequest) Size

func (m *VerifyRequest) Size() (n int)

func (*VerifyRequest) String

func (m *VerifyRequest) String() string

func (*VerifyRequest) Unmarshal

func (m *VerifyRequest) Unmarshal(dAtA []byte) error

func (*VerifyRequest) XXX_DiscardUnknown

func (m *VerifyRequest) XXX_DiscardUnknown()

func (*VerifyRequest) XXX_Marshal

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

func (*VerifyRequest) XXX_Merge

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

func (*VerifyRequest) XXX_Size

func (m *VerifyRequest) XXX_Size() int

func (*VerifyRequest) XXX_Unmarshal

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

type VerifyResponse

type VerifyResponse struct {
	// Data (if out is not specified in request).
	Data                 []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Signer               *Key     `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VerifyResponse) Descriptor

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

func (*VerifyResponse) GoString

func (this *VerifyResponse) GoString() string

func (*VerifyResponse) Marshal

func (m *VerifyResponse) Marshal() (dAtA []byte, err error)

func (*VerifyResponse) MarshalTo

func (m *VerifyResponse) MarshalTo(dAtA []byte) (int, error)

func (*VerifyResponse) MarshalToSizedBuffer

func (m *VerifyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyResponse) ProtoMessage

func (*VerifyResponse) ProtoMessage()

func (*VerifyResponse) Reset

func (m *VerifyResponse) Reset()

func (*VerifyResponse) Size

func (m *VerifyResponse) Size() (n int)

func (*VerifyResponse) String

func (m *VerifyResponse) String() string

func (*VerifyResponse) Unmarshal

func (m *VerifyResponse) Unmarshal(dAtA []byte) error

func (*VerifyResponse) XXX_DiscardUnknown

func (m *VerifyResponse) XXX_DiscardUnknown()

func (*VerifyResponse) XXX_Marshal

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

func (*VerifyResponse) XXX_Merge

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

func (*VerifyResponse) XXX_Size

func (m *VerifyResponse) XXX_Size() int

func (*VerifyResponse) XXX_Unmarshal

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

type VerifyStreamClient

type VerifyStreamClient interface {
	Send(*VerifyInput) error
	Recv() (*VerifyOutput, error)
	grpc.ClientStream
}

VerifyStreamClient ...

func NewVerifyStreamClient

func NewVerifyStreamClient(ctx context.Context, cl KeysClient, armored bool) (VerifyStreamClient, error)

NewVerifyStreamClient ...

type WatchEvent

type WatchEvent struct {
	Status               WatchStatus `protobuf:"varint,1,opt,name=status,proto3,enum=service.WatchStatus" json:"status,omitempty"`
	Path                 string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*WatchEvent) Descriptor

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

func (*WatchEvent) GoString

func (this *WatchEvent) GoString() string

func (*WatchEvent) Marshal

func (m *WatchEvent) Marshal() (dAtA []byte, err error)

func (*WatchEvent) MarshalTo

func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error)

func (*WatchEvent) MarshalToSizedBuffer

func (m *WatchEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchEvent) ProtoMessage

func (*WatchEvent) ProtoMessage()

func (*WatchEvent) Reset

func (m *WatchEvent) Reset()

func (*WatchEvent) Size

func (m *WatchEvent) Size() (n int)

func (*WatchEvent) String

func (m *WatchEvent) String() string

func (*WatchEvent) Unmarshal

func (m *WatchEvent) Unmarshal(dAtA []byte) error

func (*WatchEvent) XXX_DiscardUnknown

func (m *WatchEvent) XXX_DiscardUnknown()

func (*WatchEvent) XXX_Marshal

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

func (*WatchEvent) XXX_Merge

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

func (*WatchEvent) XXX_Size

func (m *WatchEvent) XXX_Size() int

func (*WatchEvent) XXX_Unmarshal

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

type WatchRequest

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

func (*WatchRequest) Descriptor

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

func (*WatchRequest) GoString

func (this *WatchRequest) GoString() string

func (*WatchRequest) Marshal

func (m *WatchRequest) Marshal() (dAtA []byte, err error)

func (*WatchRequest) MarshalTo

func (m *WatchRequest) MarshalTo(dAtA []byte) (int, error)

func (*WatchRequest) MarshalToSizedBuffer

func (m *WatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) Reset

func (m *WatchRequest) Reset()

func (*WatchRequest) Size

func (m *WatchRequest) Size() (n int)

func (*WatchRequest) String

func (m *WatchRequest) String() string

func (*WatchRequest) Unmarshal

func (m *WatchRequest) Unmarshal(dAtA []byte) error

func (*WatchRequest) XXX_DiscardUnknown

func (m *WatchRequest) XXX_DiscardUnknown()

func (*WatchRequest) XXX_Marshal

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

func (*WatchRequest) XXX_Merge

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

func (*WatchRequest) XXX_Size

func (m *WatchRequest) XXX_Size() int

func (*WatchRequest) XXX_Unmarshal

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

type WatchStatus

type WatchStatus int32
const (
	WatchStatusUnknown   WatchStatus = 0
	WatchStatusOutage    WatchStatus = 12
	WatchStatusDisrupted WatchStatus = 13
	WatchStatusStarting  WatchStatus = 14
	WatchStatusData      WatchStatus = 16
)

func (WatchStatus) EnumDescriptor

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

func (WatchStatus) String

func (x WatchStatus) String() string

type WormholeInput

type WormholeInput struct {
	Sender               string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient            string      `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Invite               string      `protobuf:"bytes,3,opt,name=invite,proto3" json:"invite,omitempty"`
	ID                   string      `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	Data                 []byte      `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	Type                 ContentType `protobuf:"varint,12,opt,name=type,proto3,enum=service.ContentType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*WormholeInput) Descriptor

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

func (*WormholeInput) GoString

func (this *WormholeInput) GoString() string

func (*WormholeInput) Marshal

func (m *WormholeInput) Marshal() (dAtA []byte, err error)

func (*WormholeInput) MarshalTo

func (m *WormholeInput) MarshalTo(dAtA []byte) (int, error)

func (*WormholeInput) MarshalToSizedBuffer

func (m *WormholeInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WormholeInput) ProtoMessage

func (*WormholeInput) ProtoMessage()

func (*WormholeInput) Reset

func (m *WormholeInput) Reset()

func (*WormholeInput) Size

func (m *WormholeInput) Size() (n int)

func (*WormholeInput) String

func (m *WormholeInput) String() string

func (*WormholeInput) Unmarshal

func (m *WormholeInput) Unmarshal(dAtA []byte) error

func (*WormholeInput) XXX_DiscardUnknown

func (m *WormholeInput) XXX_DiscardUnknown()

func (*WormholeInput) XXX_Marshal

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

func (*WormholeInput) XXX_Merge

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

func (*WormholeInput) XXX_Size

func (m *WormholeInput) XXX_Size() int

func (*WormholeInput) XXX_Unmarshal

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

type WormholeOutput

type WormholeOutput struct {
	Message              *Message       `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Status               WormholeStatus `protobuf:"varint,2,opt,name=status,proto3,enum=service.WormholeStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*WormholeOutput) Descriptor

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

func (*WormholeOutput) GoString

func (this *WormholeOutput) GoString() string

func (*WormholeOutput) Marshal

func (m *WormholeOutput) Marshal() (dAtA []byte, err error)

func (*WormholeOutput) MarshalTo

func (m *WormholeOutput) MarshalTo(dAtA []byte) (int, error)

func (*WormholeOutput) MarshalToSizedBuffer

func (m *WormholeOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WormholeOutput) ProtoMessage

func (*WormholeOutput) ProtoMessage()

func (*WormholeOutput) Reset

func (m *WormholeOutput) Reset()

func (*WormholeOutput) Size

func (m *WormholeOutput) Size() (n int)

func (*WormholeOutput) String

func (m *WormholeOutput) String() string

func (*WormholeOutput) Unmarshal

func (m *WormholeOutput) Unmarshal(dAtA []byte) error

func (*WormholeOutput) XXX_DiscardUnknown

func (m *WormholeOutput) XXX_DiscardUnknown()

func (*WormholeOutput) XXX_Marshal

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

func (*WormholeOutput) XXX_Merge

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

func (*WormholeOutput) XXX_Size

func (m *WormholeOutput) XXX_Size() int

func (*WormholeOutput) XXX_Unmarshal

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

type WormholeStatus

type WormholeStatus int32
const (
	WormholeDefault WormholeStatus = 0
	// WormholeStarting if starting.
	WormholeStarting WormholeStatus = 10
	// WormholeOffering if offering.
	WormholeOffering WormholeStatus = 20
	// WormholeAnswering if answering.
	WormholeAnswering WormholeStatus = 21
	// WormholeHandshake if found offer/answer and trying to SCTP/Noise handshake.
	WormholeHandshake WormholeStatus = 40
	// WormholeConnected if connected
	WormholeConnected WormholeStatus = 100
	// WormholeClosed if closed
	WormholeClosed WormholeStatus = 200
)

func (WormholeStatus) EnumDescriptor

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

func (WormholeStatus) String

func (x WormholeStatus) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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