pb

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFinanceServer added in v0.0.24

func RegisterFinanceServer(s *grpc.Server, srv FinanceServer)

func RegisterMessageServer

func RegisterMessageServer(s *grpc.Server, srv MessageServer)

func RegisterMiddleServer

func RegisterMiddleServer(s *grpc.Server, srv MiddleServer)

func RegisterNLPServer added in v0.0.24

func RegisterNLPServer(s *grpc.Server, srv NLPServer)

func RegisterStorageServer added in v0.0.22

func RegisterStorageServer(s *grpc.Server, srv StorageServer)

func RegisterSubscribeServer

func RegisterSubscribeServer(s *grpc.Server, srv SubscribeServer)

func RegisterTaskServer added in v0.0.17

func RegisterTaskServer(s *grpc.Server, srv TaskServer)

func RegisterTodoServer added in v0.0.24

func RegisterTodoServer(s *grpc.Server, srv TodoServer)

func RegisterUserServer added in v0.0.24

func RegisterUserServer(s *grpc.Server, srv UserServer)

func RegisterWorkflowServer added in v0.0.9

func RegisterWorkflowServer(s *grpc.Server, srv WorkflowServer)

Types

type Action added in v0.0.16

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

func (*Action) Descriptor added in v0.0.16

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

func (*Action) GetId added in v0.0.16

func (m *Action) GetId() int64

func (*Action) GetText added in v0.0.16

func (m *Action) GetText() string

func (*Action) ProtoMessage added in v0.0.16

func (*Action) ProtoMessage()

func (*Action) Reset added in v0.0.16

func (m *Action) Reset()

func (*Action) String added in v0.0.16

func (m *Action) String() string

func (*Action) XXX_DiscardUnknown added in v0.0.16

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal added in v0.0.16

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

func (*Action) XXX_Merge added in v0.0.16

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

func (*Action) XXX_Size added in v0.0.16

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal added in v0.0.16

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

type ActionReply added in v0.0.16

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

func (*ActionReply) Descriptor added in v0.0.16

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

func (*ActionReply) GetItems added in v0.0.16

func (m *ActionReply) GetItems() []*Action

func (*ActionReply) ProtoMessage added in v0.0.16

func (*ActionReply) ProtoMessage()

func (*ActionReply) Reset added in v0.0.16

func (m *ActionReply) Reset()

func (*ActionReply) String added in v0.0.16

func (m *ActionReply) String() string

func (*ActionReply) XXX_DiscardUnknown added in v0.0.16

func (m *ActionReply) XXX_DiscardUnknown()

func (*ActionReply) XXX_Marshal added in v0.0.16

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

func (*ActionReply) XXX_Merge added in v0.0.16

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

func (*ActionReply) XXX_Size added in v0.0.16

func (m *ActionReply) XXX_Size() int

func (*ActionReply) XXX_Unmarshal added in v0.0.16

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

type App added in v0.0.9

type App struct {
	Title                string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	IsAuthorized         bool     `protobuf:"varint,2,opt,name=isAuthorized,proto3" json:"isAuthorized,omitempty"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Token                string   `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
	Extra                string   `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"`
	Time                 string   `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*App) Descriptor added in v0.0.9

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

func (*App) GetExtra added in v0.0.17

func (m *App) GetExtra() string

func (*App) GetIsAuthorized added in v0.0.9

func (m *App) GetIsAuthorized() bool

func (*App) GetName added in v0.0.17

func (m *App) GetName() string

func (*App) GetTime added in v0.0.17

func (m *App) GetTime() string

func (*App) GetTitle added in v0.0.9

func (m *App) GetTitle() string

func (*App) GetToken added in v0.0.17

func (m *App) GetToken() string

func (*App) GetType added in v0.0.15

func (m *App) GetType() string

func (*App) ProtoMessage added in v0.0.9

func (*App) ProtoMessage()

func (*App) Reset added in v0.0.9

func (m *App) Reset()

func (*App) String added in v0.0.9

func (m *App) String() string

func (*App) XXX_DiscardUnknown added in v0.0.9

func (m *App) XXX_DiscardUnknown()

func (*App) XXX_Marshal added in v0.0.9

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

func (*App) XXX_Merge added in v0.0.9

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

func (*App) XXX_Size added in v0.0.9

func (m *App) XXX_Size() int

func (*App) XXX_Unmarshal added in v0.0.9

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

type AppReply added in v0.0.9

type AppReply struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Token                string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Extra                []*KV    `protobuf:"bytes,4,rep,name=extra,proto3" json:"extra,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppReply) Descriptor added in v0.0.9

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

func (*AppReply) GetExtra added in v0.0.15

func (m *AppReply) GetExtra() []*KV

func (*AppReply) GetName added in v0.0.15

func (m *AppReply) GetName() string

func (*AppReply) GetToken added in v0.0.15

func (m *AppReply) GetToken() string

func (*AppReply) GetType added in v0.0.15

func (m *AppReply) GetType() string

func (*AppReply) ProtoMessage added in v0.0.9

func (*AppReply) ProtoMessage()

func (*AppReply) Reset added in v0.0.9

func (m *AppReply) Reset()

func (*AppReply) String added in v0.0.9

func (m *AppReply) String() string

func (*AppReply) XXX_DiscardUnknown added in v0.0.9

func (m *AppReply) XXX_DiscardUnknown()

func (*AppReply) XXX_Marshal added in v0.0.9

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

func (*AppReply) XXX_Merge added in v0.0.9

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

func (*AppReply) XXX_Size added in v0.0.9

func (m *AppReply) XXX_Size() int

func (*AppReply) XXX_Unmarshal added in v0.0.9

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

type AppRequest added in v0.0.9

type AppRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Token                string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Extra                string   `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppRequest) Descriptor added in v0.0.9

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

func (*AppRequest) GetExtra added in v0.0.9

func (m *AppRequest) GetExtra() string

func (*AppRequest) GetName added in v0.0.9

func (m *AppRequest) GetName() string

func (*AppRequest) GetToken added in v0.0.9

func (m *AppRequest) GetToken() string

func (*AppRequest) GetType added in v0.0.9

func (m *AppRequest) GetType() string

func (*AppRequest) ProtoMessage added in v0.0.9

func (*AppRequest) ProtoMessage()

func (*AppRequest) Reset added in v0.0.9

func (m *AppRequest) Reset()

func (*AppRequest) String added in v0.0.9

func (m *AppRequest) String() string

func (*AppRequest) XXX_DiscardUnknown added in v0.0.9

func (m *AppRequest) XXX_DiscardUnknown()

func (*AppRequest) XXX_Marshal added in v0.0.9

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

func (*AppRequest) XXX_Merge added in v0.0.9

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

func (*AppRequest) XXX_Size added in v0.0.9

func (m *AppRequest) XXX_Size() int

func (*AppRequest) XXX_Unmarshal added in v0.0.9

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

type AppsReply added in v0.0.15

type AppsReply struct {
	Apps                 []*App   `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppsReply) Descriptor added in v0.0.15

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

func (*AppsReply) GetApps added in v0.0.15

func (m *AppsReply) GetApps() []*App

func (*AppsReply) ProtoMessage added in v0.0.15

func (*AppsReply) ProtoMessage()

func (*AppsReply) Reset added in v0.0.15

func (m *AppsReply) Reset()

func (*AppsReply) String added in v0.0.15

func (m *AppsReply) String() string

func (*AppsReply) XXX_DiscardUnknown added in v0.0.15

func (m *AppsReply) XXX_DiscardUnknown()

func (*AppsReply) XXX_Marshal added in v0.0.15

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

func (*AppsReply) XXX_Merge added in v0.0.15

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

func (*AppsReply) XXX_Size added in v0.0.15

func (m *AppsReply) XXX_Size() int

func (*AppsReply) XXX_Unmarshal added in v0.0.15

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

type Bill added in v0.0.24

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

func (*Bill) Descriptor added in v0.0.24

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

func (*Bill) GetName added in v0.0.24

func (m *Bill) GetName() string

func (*Bill) ProtoMessage added in v0.0.24

func (*Bill) ProtoMessage()

func (*Bill) Reset added in v0.0.24

func (m *Bill) Reset()

func (*Bill) String added in v0.0.24

func (m *Bill) String() string

func (*Bill) XXX_DiscardUnknown added in v0.0.24

func (m *Bill) XXX_DiscardUnknown()

func (*Bill) XXX_Marshal added in v0.0.24

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

func (*Bill) XXX_Merge added in v0.0.24

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

func (*Bill) XXX_Size added in v0.0.24

func (m *Bill) XXX_Size() int

func (*Bill) XXX_Unmarshal added in v0.0.24

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

type BillReply added in v0.0.24

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

func (*BillReply) Descriptor added in v0.0.24

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

func (*BillReply) GetBill added in v0.0.24

func (m *BillReply) GetBill() *Bill

func (*BillReply) ProtoMessage added in v0.0.24

func (*BillReply) ProtoMessage()

func (*BillReply) Reset added in v0.0.24

func (m *BillReply) Reset()

func (*BillReply) String added in v0.0.24

func (m *BillReply) String() string

func (*BillReply) XXX_DiscardUnknown added in v0.0.24

func (m *BillReply) XXX_DiscardUnknown()

func (*BillReply) XXX_Marshal added in v0.0.24

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

func (*BillReply) XXX_Merge added in v0.0.24

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

func (*BillReply) XXX_Size added in v0.0.24

func (m *BillReply) XXX_Size() int

func (*BillReply) XXX_Unmarshal added in v0.0.24

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

type BillRequest added in v0.0.24

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

func (*BillRequest) Descriptor added in v0.0.24

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

func (*BillRequest) GetId added in v0.0.24

func (m *BillRequest) GetId() int64

func (*BillRequest) GetName added in v0.0.24

func (m *BillRequest) GetName() string

func (*BillRequest) ProtoMessage added in v0.0.24

func (*BillRequest) ProtoMessage()

func (*BillRequest) Reset added in v0.0.24

func (m *BillRequest) Reset()

func (*BillRequest) String added in v0.0.24

func (m *BillRequest) String() string

func (*BillRequest) XXX_DiscardUnknown added in v0.0.24

func (m *BillRequest) XXX_DiscardUnknown()

func (*BillRequest) XXX_Marshal added in v0.0.24

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

func (*BillRequest) XXX_Merge added in v0.0.24

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

func (*BillRequest) XXX_Size added in v0.0.24

func (m *BillRequest) XXX_Size() int

func (*BillRequest) XXX_Unmarshal added in v0.0.24

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

type BillsReply added in v0.0.24

type BillsReply struct {
	Bills                []*Bill  `protobuf:"bytes,1,rep,name=bills,proto3" json:"bills,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BillsReply) Descriptor added in v0.0.24

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

func (*BillsReply) GetBills added in v0.0.24

func (m *BillsReply) GetBills() []*Bill

func (*BillsReply) ProtoMessage added in v0.0.24

func (*BillsReply) ProtoMessage()

func (*BillsReply) Reset added in v0.0.24

func (m *BillsReply) Reset()

func (*BillsReply) String added in v0.0.24

func (m *BillsReply) String() string

func (*BillsReply) XXX_DiscardUnknown added in v0.0.24

func (m *BillsReply) XXX_DiscardUnknown()

func (*BillsReply) XXX_Marshal added in v0.0.24

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

func (*BillsReply) XXX_Merge added in v0.0.24

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

func (*BillsReply) XXX_Size added in v0.0.24

func (m *BillsReply) XXX_Size() int

func (*BillsReply) XXX_Unmarshal added in v0.0.24

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

type Credential added in v0.0.17

type Credential struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Content              string   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Time                 string   `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Credential) Descriptor added in v0.0.17

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

func (*Credential) GetContent added in v0.0.17

func (m *Credential) GetContent() string

func (*Credential) GetName added in v0.0.17

func (m *Credential) GetName() string

func (*Credential) GetTime added in v0.0.17

func (m *Credential) GetTime() string

func (*Credential) GetType added in v0.0.17

func (m *Credential) GetType() string

func (*Credential) ProtoMessage added in v0.0.17

func (*Credential) ProtoMessage()

func (*Credential) Reset added in v0.0.17

func (m *Credential) Reset()

func (*Credential) String added in v0.0.17

func (m *Credential) String() string

func (*Credential) XXX_DiscardUnknown added in v0.0.17

func (m *Credential) XXX_DiscardUnknown()

func (*Credential) XXX_Marshal added in v0.0.17

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

func (*Credential) XXX_Merge added in v0.0.17

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

func (*Credential) XXX_Size added in v0.0.17

func (m *Credential) XXX_Size() int

func (*Credential) XXX_Unmarshal added in v0.0.17

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

type CredentialReply added in v0.0.9

type CredentialReply struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Content              []*KV    `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CredentialReply) Descriptor added in v0.0.9

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

func (*CredentialReply) GetContent added in v0.0.15

func (m *CredentialReply) GetContent() []*KV

func (*CredentialReply) GetName added in v0.0.15

func (m *CredentialReply) GetName() string

func (*CredentialReply) GetType added in v0.0.15

func (m *CredentialReply) GetType() string

func (*CredentialReply) ProtoMessage added in v0.0.9

func (*CredentialReply) ProtoMessage()

func (*CredentialReply) Reset added in v0.0.9

func (m *CredentialReply) Reset()

func (*CredentialReply) String added in v0.0.9

func (m *CredentialReply) String() string

func (*CredentialReply) XXX_DiscardUnknown added in v0.0.9

func (m *CredentialReply) XXX_DiscardUnknown()

func (*CredentialReply) XXX_Marshal added in v0.0.9

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

func (*CredentialReply) XXX_Merge added in v0.0.9

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

func (*CredentialReply) XXX_Size added in v0.0.9

func (m *CredentialReply) XXX_Size() int

func (*CredentialReply) XXX_Unmarshal added in v0.0.9

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

type CredentialRequest added in v0.0.15

type CredentialRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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 (*CredentialRequest) Descriptor added in v0.0.15

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

func (*CredentialRequest) GetName added in v0.0.15

func (m *CredentialRequest) GetName() string

func (*CredentialRequest) GetType added in v0.0.15

func (m *CredentialRequest) GetType() string

func (*CredentialRequest) ProtoMessage added in v0.0.15

func (*CredentialRequest) ProtoMessage()

func (*CredentialRequest) Reset added in v0.0.15

func (m *CredentialRequest) Reset()

func (*CredentialRequest) String added in v0.0.15

func (m *CredentialRequest) String() string

func (*CredentialRequest) XXX_DiscardUnknown added in v0.0.15

func (m *CredentialRequest) XXX_DiscardUnknown()

func (*CredentialRequest) XXX_Marshal added in v0.0.15

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

func (*CredentialRequest) XXX_Merge added in v0.0.15

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

func (*CredentialRequest) XXX_Size added in v0.0.15

func (m *CredentialRequest) XXX_Size() int

func (*CredentialRequest) XXX_Unmarshal added in v0.0.15

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

type CredentialsReply added in v0.0.15

type CredentialsReply struct {
	Credentials          []*Credential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*CredentialsReply) Descriptor added in v0.0.15

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

func (*CredentialsReply) GetCredentials added in v0.0.17

func (m *CredentialsReply) GetCredentials() []*Credential

func (*CredentialsReply) ProtoMessage added in v0.0.15

func (*CredentialsReply) ProtoMessage()

func (*CredentialsReply) Reset added in v0.0.15

func (m *CredentialsReply) Reset()

func (*CredentialsReply) String added in v0.0.15

func (m *CredentialsReply) String() string

func (*CredentialsReply) XXX_DiscardUnknown added in v0.0.15

func (m *CredentialsReply) XXX_DiscardUnknown()

func (*CredentialsReply) XXX_Marshal added in v0.0.15

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

func (*CredentialsReply) XXX_Merge added in v0.0.15

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

func (*CredentialsReply) XXX_Size added in v0.0.15

func (m *CredentialsReply) XXX_Size() int

func (*CredentialsReply) XXX_Unmarshal added in v0.0.15

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

type FileInfo added in v0.0.22

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

func (*FileInfo) Descriptor added in v0.0.22

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

func (*FileInfo) GetFileType added in v0.0.22

func (m *FileInfo) GetFileType() string

func (*FileInfo) ProtoMessage added in v0.0.22

func (*FileInfo) ProtoMessage()

func (*FileInfo) Reset added in v0.0.22

func (m *FileInfo) Reset()

func (*FileInfo) String added in v0.0.22

func (m *FileInfo) String() string

func (*FileInfo) XXX_DiscardUnknown added in v0.0.22

func (m *FileInfo) XXX_DiscardUnknown()

func (*FileInfo) XXX_Marshal added in v0.0.22

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

func (*FileInfo) XXX_Merge added in v0.0.22

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

func (*FileInfo) XXX_Size added in v0.0.22

func (m *FileInfo) XXX_Size() int

func (*FileInfo) XXX_Unmarshal added in v0.0.22

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

type FileReply added in v0.0.22

type FileReply 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 (*FileReply) Descriptor added in v0.0.22

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

func (*FileReply) GetPath added in v0.0.22

func (m *FileReply) GetPath() string

func (*FileReply) ProtoMessage added in v0.0.22

func (*FileReply) ProtoMessage()

func (*FileReply) Reset added in v0.0.22

func (m *FileReply) Reset()

func (*FileReply) String added in v0.0.22

func (m *FileReply) String() string

func (*FileReply) XXX_DiscardUnknown added in v0.0.22

func (m *FileReply) XXX_DiscardUnknown()

func (*FileReply) XXX_Marshal added in v0.0.22

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

func (*FileReply) XXX_Merge added in v0.0.22

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

func (*FileReply) XXX_Size added in v0.0.22

func (m *FileReply) XXX_Size() int

func (*FileReply) XXX_Unmarshal added in v0.0.22

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

type FileRequest added in v0.0.22

type FileRequest struct {
	// Types that are valid to be assigned to Data:
	//	*FileRequest_Info
	//	*FileRequest_Chuck
	Data                 isFileRequest_Data `protobuf_oneof:"data"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*FileRequest) Descriptor added in v0.0.22

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

func (*FileRequest) GetChuck added in v0.0.22

func (m *FileRequest) GetChuck() []byte

func (*FileRequest) GetData added in v0.0.22

func (m *FileRequest) GetData() isFileRequest_Data

func (*FileRequest) GetInfo added in v0.0.22

func (m *FileRequest) GetInfo() *FileInfo

func (*FileRequest) ProtoMessage added in v0.0.22

func (*FileRequest) ProtoMessage()

func (*FileRequest) Reset added in v0.0.22

func (m *FileRequest) Reset()

func (*FileRequest) String added in v0.0.22

func (m *FileRequest) String() string

func (*FileRequest) XXX_DiscardUnknown added in v0.0.22

func (m *FileRequest) XXX_DiscardUnknown()

func (*FileRequest) XXX_Marshal added in v0.0.22

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

func (*FileRequest) XXX_Merge added in v0.0.22

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

func (*FileRequest) XXX_OneofWrappers added in v0.0.22

func (*FileRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FileRequest) XXX_Size added in v0.0.22

func (m *FileRequest) XXX_Size() int

func (*FileRequest) XXX_Unmarshal added in v0.0.22

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

type FileRequest_Chuck added in v0.0.22

type FileRequest_Chuck struct {
	Chuck []byte `protobuf:"bytes,2,opt,name=chuck,proto3,oneof" json:"chuck,omitempty"`
}

type FileRequest_Info added in v0.0.22

type FileRequest_Info struct {
	Info *FileInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof" json:"info,omitempty"`
}

type FinanceClient added in v0.0.24

type FinanceClient interface {
	CreateBill(ctx context.Context, in *BillRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetBill(ctx context.Context, in *BillRequest, opts ...grpc.CallOption) (*BillReply, error)
	GetBills(ctx context.Context, in *BillRequest, opts ...grpc.CallOption) (*BillsReply, error)
	DeleteBill(ctx context.Context, in *BillRequest, opts ...grpc.CallOption) (*StateReply, error)
}

FinanceClient is the client API for Finance service.

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

func NewFinanceClient added in v0.0.24

func NewFinanceClient(cc *grpc.ClientConn) FinanceClient

type FinanceServer added in v0.0.24

type FinanceServer interface {
	CreateBill(context.Context, *BillRequest) (*StateReply, error)
	GetBill(context.Context, *BillRequest) (*BillReply, error)
	GetBills(context.Context, *BillRequest) (*BillsReply, error)
	DeleteBill(context.Context, *BillRequest) (*StateReply, error)
}

FinanceServer is the server API for Finance service.

type JobRequest added in v0.0.17

type JobRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Args                 string   `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	Time                 string   `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JobRequest) Descriptor added in v0.0.17

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

func (*JobRequest) GetArgs added in v0.0.18

func (m *JobRequest) GetArgs() string

func (*JobRequest) GetName added in v0.0.18

func (m *JobRequest) GetName() string

func (*JobRequest) GetTime added in v0.0.20

func (m *JobRequest) GetTime() string

func (*JobRequest) ProtoMessage added in v0.0.17

func (*JobRequest) ProtoMessage()

func (*JobRequest) Reset added in v0.0.17

func (m *JobRequest) Reset()

func (*JobRequest) String added in v0.0.17

func (m *JobRequest) String() string

func (*JobRequest) XXX_DiscardUnknown added in v0.0.17

func (m *JobRequest) XXX_DiscardUnknown()

func (*JobRequest) XXX_Marshal added in v0.0.17

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

func (*JobRequest) XXX_Merge added in v0.0.17

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

func (*JobRequest) XXX_Size added in v0.0.17

func (m *JobRequest) XXX_Size() int

func (*JobRequest) XXX_Unmarshal added in v0.0.17

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

type KV added in v0.0.9

type KV 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 (*KV) Descriptor added in v0.0.9

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

func (*KV) GetKey added in v0.0.9

func (m *KV) GetKey() string

func (*KV) GetValue added in v0.0.9

func (m *KV) GetValue() string

func (*KV) ProtoMessage added in v0.0.9

func (*KV) ProtoMessage()

func (*KV) Reset added in v0.0.9

func (m *KV) Reset()

func (*KV) String added in v0.0.9

func (m *KV) String() string

func (*KV) XXX_DiscardUnknown added in v0.0.9

func (m *KV) XXX_DiscardUnknown()

func (*KV) XXX_Marshal added in v0.0.9

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

func (*KV) XXX_Merge added in v0.0.9

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

func (*KV) XXX_Size added in v0.0.9

func (m *KV) XXX_Size() int

func (*KV) XXX_Unmarshal added in v0.0.9

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

type KVRequest added in v0.0.9

type KVRequest 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 (*KVRequest) Descriptor added in v0.0.9

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

func (*KVRequest) GetKey added in v0.0.9

func (m *KVRequest) GetKey() string

func (*KVRequest) GetValue added in v0.0.9

func (m *KVRequest) GetValue() string

func (*KVRequest) ProtoMessage added in v0.0.9

func (*KVRequest) ProtoMessage()

func (*KVRequest) Reset added in v0.0.9

func (m *KVRequest) Reset()

func (*KVRequest) String added in v0.0.9

func (m *KVRequest) String() string

func (*KVRequest) XXX_DiscardUnknown added in v0.0.9

func (m *KVRequest) XXX_DiscardUnknown()

func (*KVRequest) XXX_Marshal added in v0.0.9

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

func (*KVRequest) XXX_Merge added in v0.0.9

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

func (*KVRequest) XXX_Size added in v0.0.9

func (m *KVRequest) XXX_Size() int

func (*KVRequest) XXX_Unmarshal added in v0.0.9

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

type KVsRequest added in v0.0.9

type KVsRequest struct {
	Kvs                  []*KV    `protobuf:"bytes,1,rep,name=kvs,proto3" json:"kvs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KVsRequest) Descriptor added in v0.0.9

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

func (*KVsRequest) GetKvs added in v0.0.9

func (m *KVsRequest) GetKvs() []*KV

func (*KVsRequest) ProtoMessage added in v0.0.9

func (*KVsRequest) ProtoMessage()

func (*KVsRequest) Reset added in v0.0.9

func (m *KVsRequest) Reset()

func (*KVsRequest) String added in v0.0.9

func (m *KVsRequest) String() string

func (*KVsRequest) XXX_DiscardUnknown added in v0.0.9

func (m *KVsRequest) XXX_DiscardUnknown()

func (*KVsRequest) XXX_Marshal added in v0.0.9

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

func (*KVsRequest) XXX_Merge added in v0.0.9

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

func (*KVsRequest) XXX_Size added in v0.0.9

func (m *KVsRequest) XXX_Size() int

func (*KVsRequest) XXX_Unmarshal added in v0.0.9

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

type MaskingReply added in v0.0.17

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

func (*MaskingReply) Descriptor added in v0.0.17

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

func (*MaskingReply) GetItems added in v0.0.17

func (m *MaskingReply) GetItems() []*KV

func (*MaskingReply) ProtoMessage added in v0.0.17

func (*MaskingReply) ProtoMessage()

func (*MaskingReply) Reset added in v0.0.17

func (m *MaskingReply) Reset()

func (*MaskingReply) String added in v0.0.17

func (m *MaskingReply) String() string

func (*MaskingReply) XXX_DiscardUnknown added in v0.0.17

func (m *MaskingReply) XXX_DiscardUnknown()

func (*MaskingReply) XXX_Marshal added in v0.0.17

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

func (*MaskingReply) XXX_Merge added in v0.0.17

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

func (*MaskingReply) XXX_Size added in v0.0.17

func (m *MaskingReply) XXX_Size() int

func (*MaskingReply) XXX_Unmarshal added in v0.0.17

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

type MessageClient

type MessageClient interface {
	List(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessageListReply, error)
	Get(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessageReply, error)
	Create(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*TextsReply, error)
	Delete(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*TextReply, error)
	Send(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*StateReply, error)
	Run(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*TextReply, error)
	GetActionMessages(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*ActionReply, error)
	CreateActionMessage(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*StateReply, error)
	DeleteWorkflowMessage(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*StateReply, error)
}

MessageClient is the client API for Message service.

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

func NewMessageClient

func NewMessageClient(cc *grpc.ClientConn) MessageClient

type MessageItem added in v0.0.9

type MessageItem struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid                 string   `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Text                 string   `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Time                 string   `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessageItem) Descriptor added in v0.0.9

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

func (*MessageItem) GetId added in v0.0.9

func (m *MessageItem) GetId() int64

func (*MessageItem) GetText added in v0.0.9

func (m *MessageItem) GetText() string

func (*MessageItem) GetTime added in v0.0.9

func (m *MessageItem) GetTime() string

func (*MessageItem) GetType added in v0.0.9

func (m *MessageItem) GetType() string

func (*MessageItem) GetUuid added in v0.0.9

func (m *MessageItem) GetUuid() string

func (*MessageItem) ProtoMessage added in v0.0.9

func (*MessageItem) ProtoMessage()

func (*MessageItem) Reset added in v0.0.9

func (m *MessageItem) Reset()

func (*MessageItem) String added in v0.0.9

func (m *MessageItem) String() string

func (*MessageItem) XXX_DiscardUnknown added in v0.0.9

func (m *MessageItem) XXX_DiscardUnknown()

func (*MessageItem) XXX_Marshal added in v0.0.9

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

func (*MessageItem) XXX_Merge added in v0.0.9

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

func (*MessageItem) XXX_Size added in v0.0.9

func (m *MessageItem) XXX_Size() int

func (*MessageItem) XXX_Unmarshal added in v0.0.9

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

type MessageListReply added in v0.0.9

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

func (*MessageListReply) Descriptor added in v0.0.9

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

func (*MessageListReply) GetMessages added in v0.0.9

func (m *MessageListReply) GetMessages() []*MessageItem

func (*MessageListReply) ProtoMessage added in v0.0.9

func (*MessageListReply) ProtoMessage()

func (*MessageListReply) Reset added in v0.0.9

func (m *MessageListReply) Reset()

func (*MessageListReply) String added in v0.0.9

func (m *MessageListReply) String() string

func (*MessageListReply) XXX_DiscardUnknown added in v0.0.9

func (m *MessageListReply) XXX_DiscardUnknown()

func (*MessageListReply) XXX_Marshal added in v0.0.9

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

func (*MessageListReply) XXX_Merge added in v0.0.9

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

func (*MessageListReply) XXX_Size added in v0.0.9

func (m *MessageListReply) XXX_Size() int

func (*MessageListReply) XXX_Unmarshal added in v0.0.9

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

type MessageReply

type MessageReply struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid                 string   `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Text                 string   `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Time                 string   `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessageReply) Descriptor

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

func (*MessageReply) GetId

func (m *MessageReply) GetId() int64

func (*MessageReply) GetText

func (m *MessageReply) GetText() string

func (*MessageReply) GetTime added in v0.0.18

func (m *MessageReply) GetTime() string

func (*MessageReply) GetType added in v0.0.18

func (m *MessageReply) GetType() string

func (*MessageReply) GetUuid

func (m *MessageReply) GetUuid() string

func (*MessageReply) ProtoMessage

func (*MessageReply) ProtoMessage()

func (*MessageReply) Reset

func (m *MessageReply) Reset()

func (*MessageReply) String

func (m *MessageReply) String() string

func (*MessageReply) XXX_DiscardUnknown

func (m *MessageReply) XXX_DiscardUnknown()

func (*MessageReply) XXX_Marshal

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

func (*MessageReply) XXX_Merge

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

func (*MessageReply) XXX_Size

func (m *MessageReply) XXX_Size() int

func (*MessageReply) XXX_Unmarshal

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

type MessageRequest

type MessageRequest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid                 string   `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Text                 string   `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessageRequest) Descriptor

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

func (*MessageRequest) GetId

func (m *MessageRequest) GetId() int64

func (*MessageRequest) GetText

func (m *MessageRequest) GetText() string

func (*MessageRequest) GetUuid

func (m *MessageRequest) GetUuid() string

func (*MessageRequest) ProtoMessage

func (*MessageRequest) ProtoMessage()

func (*MessageRequest) Reset

func (m *MessageRequest) Reset()

func (*MessageRequest) String

func (m *MessageRequest) String() string

func (*MessageRequest) XXX_DiscardUnknown

func (m *MessageRequest) XXX_DiscardUnknown()

func (*MessageRequest) XXX_Marshal

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

func (*MessageRequest) XXX_Merge

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

func (*MessageRequest) XXX_Size

func (m *MessageRequest) XXX_Size() int

func (*MessageRequest) XXX_Unmarshal

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

type MessageServer

MessageServer is the server API for Message service.

type MiddleClient

type MiddleClient interface {
	CreatePage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (*TextReply, error)
	GetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (*PageReply, error)
	GetQrUrl(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*TextReply, error)
	GetApps(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*AppsReply, error)
	GetAvailableApp(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*AppReply, error)
	StoreAppOAuth(ctx context.Context, in *AppRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetCredentials(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*CredentialsReply, error)
	GetMaskingCredentials(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*MaskingReply, error)
	GetCredential(ctx context.Context, in *CredentialRequest, opts ...grpc.CallOption) (*CredentialReply, error)
	CreateCredential(ctx context.Context, in *KVsRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetSettings(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*SettingsReply, error)
	GetSetting(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*SettingReply, error)
	CreateSetting(ctx context.Context, in *KVRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetMenu(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*TextReply, error)
	GetStats(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*TextReply, error)
}

MiddleClient is the client API for Middle service.

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

func NewMiddleClient

func NewMiddleClient(cc *grpc.ClientConn) MiddleClient

type MiddleServer

MiddleServer is the server API for Middle service.

type NLPClient added in v0.0.24

type NLPClient interface {
	Pinyin(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*WordsReply, error)
	Segmentation(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*WordsReply, error)
	Classifier(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*TextReply, error)
}

NLPClient is the client API for NLP service.

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

func NewNLPClient added in v0.0.24

func NewNLPClient(cc *grpc.ClientConn) NLPClient

type NLPServer added in v0.0.24

type NLPServer interface {
	Pinyin(context.Context, *TextRequest) (*WordsReply, error)
	Segmentation(context.Context, *TextRequest) (*WordsReply, error)
	Classifier(context.Context, *TextRequest) (*TextReply, error)
}

NLPServer is the server API for NLP service.

type PageReply

type PageReply struct {
	Uuid                 string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Title                string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content              string   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PageReply) Descriptor

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

func (*PageReply) GetContent

func (m *PageReply) GetContent() string

func (*PageReply) GetTitle

func (m *PageReply) GetTitle() string

func (*PageReply) GetType added in v0.0.20

func (m *PageReply) GetType() string

func (*PageReply) GetUuid

func (m *PageReply) GetUuid() string

func (*PageReply) ProtoMessage

func (*PageReply) ProtoMessage()

func (*PageReply) Reset

func (m *PageReply) Reset()

func (*PageReply) String

func (m *PageReply) String() string

func (*PageReply) XXX_DiscardUnknown

func (m *PageReply) XXX_DiscardUnknown()

func (*PageReply) XXX_Marshal

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

func (*PageReply) XXX_Merge

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

func (*PageReply) XXX_Size

func (m *PageReply) XXX_Size() int

func (*PageReply) XXX_Unmarshal

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

type PageRequest

type PageRequest struct {
	// @inject_tag: query:"uuid"
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" query:"uuid"`
	// @inject_tag: query:"title"
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" query:"title"`
	// @inject_tag: query:"content"
	Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty" query:"content"`
	// @inject_tag: query:"type"
	Type                 string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty" query:"type"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PageRequest) Descriptor

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

func (*PageRequest) GetContent

func (m *PageRequest) GetContent() string

func (*PageRequest) GetTitle

func (m *PageRequest) GetTitle() string

func (*PageRequest) GetType added in v0.0.20

func (m *PageRequest) GetType() string

func (*PageRequest) GetUuid

func (m *PageRequest) GetUuid() string

func (*PageRequest) ProtoMessage

func (*PageRequest) ProtoMessage()

func (*PageRequest) Reset

func (m *PageRequest) Reset()

func (*PageRequest) String

func (m *PageRequest) String() string

func (*PageRequest) XXX_DiscardUnknown

func (m *PageRequest) XXX_DiscardUnknown()

func (*PageRequest) XXX_Marshal

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

func (*PageRequest) XXX_Merge

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

func (*PageRequest) XXX_Size

func (m *PageRequest) XXX_Size() int

func (*PageRequest) XXX_Unmarshal

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

type Role added in v0.0.24

type Role struct {
	Profession           string   `protobuf:"bytes,1,opt,name=profession,proto3" json:"profession,omitempty"`
	Exp                  int64    `protobuf:"varint,2,opt,name=exp,proto3" json:"exp,omitempty"`
	Level                int64    `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
	Strength             int64    `protobuf:"varint,4,opt,name=strength,proto3" json:"strength,omitempty"`
	Culture              int64    `protobuf:"varint,5,opt,name=culture,proto3" json:"culture,omitempty"`
	Environment          int64    `protobuf:"varint,6,opt,name=environment,proto3" json:"environment,omitempty"`
	Charisma             int64    `protobuf:"varint,7,opt,name=charisma,proto3" json:"charisma,omitempty"`
	Talent               int64    `protobuf:"varint,8,opt,name=talent,proto3" json:"talent,omitempty"`
	Intellect            int64    `protobuf:"varint,9,opt,name=intellect,proto3" json:"intellect,omitempty"`
	Time                 string   `protobuf:"bytes,10,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Role) Descriptor added in v0.0.24

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

func (*Role) GetCharisma added in v0.0.24

func (m *Role) GetCharisma() int64

func (*Role) GetCulture added in v0.0.24

func (m *Role) GetCulture() int64

func (*Role) GetEnvironment added in v0.0.24

func (m *Role) GetEnvironment() int64

func (*Role) GetExp added in v0.0.24

func (m *Role) GetExp() int64

func (*Role) GetIntellect added in v0.0.24

func (m *Role) GetIntellect() int64

func (*Role) GetLevel added in v0.0.24

func (m *Role) GetLevel() int64

func (*Role) GetProfession added in v0.0.24

func (m *Role) GetProfession() string

func (*Role) GetStrength added in v0.0.24

func (m *Role) GetStrength() int64

func (*Role) GetTalent added in v0.0.24

func (m *Role) GetTalent() int64

func (*Role) GetTime added in v0.0.24

func (m *Role) GetTime() string

func (*Role) ProtoMessage added in v0.0.24

func (*Role) ProtoMessage()

func (*Role) Reset added in v0.0.24

func (m *Role) Reset()

func (*Role) String added in v0.0.24

func (m *Role) String() string

func (*Role) XXX_DiscardUnknown added in v0.0.24

func (m *Role) XXX_DiscardUnknown()

func (*Role) XXX_Marshal added in v0.0.24

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

func (*Role) XXX_Merge added in v0.0.24

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

func (*Role) XXX_Size added in v0.0.24

func (m *Role) XXX_Size() int

func (*Role) XXX_Unmarshal added in v0.0.24

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

type RoleReply added in v0.0.24

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

func (*RoleReply) Descriptor added in v0.0.24

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

func (*RoleReply) GetRole added in v0.0.24

func (m *RoleReply) GetRole() *Role

func (*RoleReply) ProtoMessage added in v0.0.24

func (*RoleReply) ProtoMessage()

func (*RoleReply) Reset added in v0.0.24

func (m *RoleReply) Reset()

func (*RoleReply) String added in v0.0.24

func (m *RoleReply) String() string

func (*RoleReply) XXX_DiscardUnknown added in v0.0.24

func (m *RoleReply) XXX_DiscardUnknown()

func (*RoleReply) XXX_Marshal added in v0.0.24

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

func (*RoleReply) XXX_Merge added in v0.0.24

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

func (*RoleReply) XXX_Size added in v0.0.24

func (m *RoleReply) XXX_Size() int

func (*RoleReply) XXX_Unmarshal added in v0.0.24

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

type RoleRequest added in v0.0.24

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

func (*RoleRequest) Descriptor added in v0.0.24

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

func (*RoleRequest) GetId added in v0.0.24

func (m *RoleRequest) GetId() int64

func (*RoleRequest) ProtoMessage added in v0.0.24

func (*RoleRequest) ProtoMessage()

func (*RoleRequest) Reset added in v0.0.24

func (m *RoleRequest) Reset()

func (*RoleRequest) String added in v0.0.24

func (m *RoleRequest) String() string

func (*RoleRequest) XXX_DiscardUnknown added in v0.0.24

func (m *RoleRequest) XXX_DiscardUnknown()

func (*RoleRequest) XXX_Marshal added in v0.0.24

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

func (*RoleRequest) XXX_Merge added in v0.0.24

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

func (*RoleRequest) XXX_Size added in v0.0.24

func (m *RoleRequest) XXX_Size() int

func (*RoleRequest) XXX_Unmarshal added in v0.0.24

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

type RolesReply added in v0.0.24

type RolesReply struct {
	Roles                []*Role  `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RolesReply) Descriptor added in v0.0.24

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

func (*RolesReply) GetRoles added in v0.0.24

func (m *RolesReply) GetRoles() []*Role

func (*RolesReply) ProtoMessage added in v0.0.24

func (*RolesReply) ProtoMessage()

func (*RolesReply) Reset added in v0.0.24

func (m *RolesReply) Reset()

func (*RolesReply) String added in v0.0.24

func (m *RolesReply) String() string

func (*RolesReply) XXX_DiscardUnknown added in v0.0.24

func (m *RolesReply) XXX_DiscardUnknown()

func (*RolesReply) XXX_Marshal added in v0.0.24

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

func (*RolesReply) XXX_Merge added in v0.0.24

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

func (*RolesReply) XXX_Size added in v0.0.24

func (m *RolesReply) XXX_Size() int

func (*RolesReply) XXX_Unmarshal added in v0.0.24

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

type SettingReply added in v0.0.9

type SettingReply 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 (*SettingReply) Descriptor added in v0.0.9

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

func (*SettingReply) GetKey added in v0.0.21

func (m *SettingReply) GetKey() string

func (*SettingReply) GetValue added in v0.0.21

func (m *SettingReply) GetValue() string

func (*SettingReply) ProtoMessage added in v0.0.9

func (*SettingReply) ProtoMessage()

func (*SettingReply) Reset added in v0.0.9

func (m *SettingReply) Reset()

func (*SettingReply) String added in v0.0.9

func (m *SettingReply) String() string

func (*SettingReply) XXX_DiscardUnknown added in v0.0.9

func (m *SettingReply) XXX_DiscardUnknown()

func (*SettingReply) XXX_Marshal added in v0.0.9

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

func (*SettingReply) XXX_Merge added in v0.0.9

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

func (*SettingReply) XXX_Size added in v0.0.9

func (m *SettingReply) XXX_Size() int

func (*SettingReply) XXX_Unmarshal added in v0.0.9

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

type SettingsReply added in v0.0.21

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

func (*SettingsReply) Descriptor added in v0.0.21

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

func (*SettingsReply) GetItems added in v0.0.21

func (m *SettingsReply) GetItems() []*KV

func (*SettingsReply) ProtoMessage added in v0.0.21

func (*SettingsReply) ProtoMessage()

func (*SettingsReply) Reset added in v0.0.21

func (m *SettingsReply) Reset()

func (*SettingsReply) String added in v0.0.21

func (m *SettingsReply) String() string

func (*SettingsReply) XXX_DiscardUnknown added in v0.0.21

func (m *SettingsReply) XXX_DiscardUnknown()

func (*SettingsReply) XXX_Marshal added in v0.0.21

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

func (*SettingsReply) XXX_Merge added in v0.0.21

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

func (*SettingsReply) XXX_Size added in v0.0.21

func (m *SettingsReply) XXX_Size() int

func (*SettingsReply) XXX_Unmarshal added in v0.0.21

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

type StateReply added in v0.0.9

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

func (*StateReply) Descriptor added in v0.0.9

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

func (*StateReply) GetState added in v0.0.9

func (m *StateReply) GetState() bool

func (*StateReply) ProtoMessage added in v0.0.9

func (*StateReply) ProtoMessage()

func (*StateReply) Reset added in v0.0.9

func (m *StateReply) Reset()

func (*StateReply) String added in v0.0.9

func (m *StateReply) String() string

func (*StateReply) XXX_DiscardUnknown added in v0.0.9

func (m *StateReply) XXX_DiscardUnknown()

func (*StateReply) XXX_Marshal added in v0.0.9

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

func (*StateReply) XXX_Merge added in v0.0.9

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

func (*StateReply) XXX_Size added in v0.0.9

func (m *StateReply) XXX_Size() int

func (*StateReply) XXX_Unmarshal added in v0.0.9

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

type StorageClient added in v0.0.22

type StorageClient interface {
	UploadFile(ctx context.Context, opts ...grpc.CallOption) (Storage_UploadFileClient, error)
}

StorageClient is the client API for Storage service.

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

func NewStorageClient added in v0.0.22

func NewStorageClient(cc *grpc.ClientConn) StorageClient

type StorageServer added in v0.0.22

type StorageServer interface {
	UploadFile(Storage_UploadFileServer) error
}

StorageServer is the server API for Storage service.

type Storage_UploadFileClient added in v0.0.22

type Storage_UploadFileClient interface {
	Send(*FileRequest) error
	CloseAndRecv() (*FileReply, error)
	grpc.ClientStream
}

type Storage_UploadFileServer added in v0.0.22

type Storage_UploadFileServer interface {
	SendAndClose(*FileReply) error
	Recv() (*FileRequest, error)
	grpc.ServerStream
}

type SubscribeClient

type SubscribeClient interface {
	List(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*SubscribeReply, error)
	Register(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
	Open(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
	Close(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
	Status(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
}

SubscribeClient is the client API for Subscribe service.

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

func NewSubscribeClient

func NewSubscribeClient(cc *grpc.ClientConn) SubscribeClient

type SubscribeReply

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

func (*SubscribeReply) Descriptor

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

func (*SubscribeReply) GetText

func (m *SubscribeReply) GetText() []string

func (*SubscribeReply) ProtoMessage

func (*SubscribeReply) ProtoMessage()

func (*SubscribeReply) Reset

func (m *SubscribeReply) Reset()

func (*SubscribeReply) String

func (m *SubscribeReply) String() string

func (*SubscribeReply) XXX_DiscardUnknown

func (m *SubscribeReply) XXX_DiscardUnknown()

func (*SubscribeReply) XXX_Marshal

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

func (*SubscribeReply) XXX_Merge

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

func (*SubscribeReply) XXX_Size

func (m *SubscribeReply) XXX_Size() int

func (*SubscribeReply) XXX_Unmarshal

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

type SubscribeRequest

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

func (*SubscribeRequest) Descriptor

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

func (*SubscribeRequest) GetText

func (m *SubscribeRequest) GetText() string

func (*SubscribeRequest) ProtoMessage

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) Reset

func (m *SubscribeRequest) Reset()

func (*SubscribeRequest) String

func (m *SubscribeRequest) String() string

func (*SubscribeRequest) XXX_DiscardUnknown

func (m *SubscribeRequest) XXX_DiscardUnknown()

func (*SubscribeRequest) XXX_Marshal

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

func (*SubscribeRequest) XXX_Merge

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

func (*SubscribeRequest) XXX_Size

func (m *SubscribeRequest) XXX_Size() int

func (*SubscribeRequest) XXX_Unmarshal

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

type SubscribeServer

SubscribeServer is the server API for Subscribe service.

type TaskClient added in v0.0.17

type TaskClient interface {
	Delay(ctx context.Context, in *JobRequest, opts ...grpc.CallOption) (*StateReply, error)
}

TaskClient is the client API for Task service.

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

func NewTaskClient added in v0.0.17

func NewTaskClient(cc *grpc.ClientConn) TaskClient

type TaskServer added in v0.0.17

type TaskServer interface {
	Delay(context.Context, *JobRequest) (*StateReply, error)
}

TaskServer is the server API for Task service.

type TextReply added in v0.0.9

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

func (*TextReply) Descriptor added in v0.0.9

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

func (*TextReply) GetText added in v0.0.9

func (m *TextReply) GetText() string

func (*TextReply) ProtoMessage added in v0.0.9

func (*TextReply) ProtoMessage()

func (*TextReply) Reset added in v0.0.9

func (m *TextReply) Reset()

func (*TextReply) String added in v0.0.9

func (m *TextReply) String() string

func (*TextReply) XXX_DiscardUnknown added in v0.0.9

func (m *TextReply) XXX_DiscardUnknown()

func (*TextReply) XXX_Marshal added in v0.0.9

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

func (*TextReply) XXX_Merge added in v0.0.9

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

func (*TextReply) XXX_Size added in v0.0.9

func (m *TextReply) XXX_Size() int

func (*TextReply) XXX_Unmarshal added in v0.0.9

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

type TextRequest added in v0.0.9

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

func (*TextRequest) Descriptor added in v0.0.9

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

func (*TextRequest) GetText added in v0.0.9

func (m *TextRequest) GetText() string

func (*TextRequest) ProtoMessage added in v0.0.9

func (*TextRequest) ProtoMessage()

func (*TextRequest) Reset added in v0.0.9

func (m *TextRequest) Reset()

func (*TextRequest) String added in v0.0.9

func (m *TextRequest) String() string

func (*TextRequest) XXX_DiscardUnknown added in v0.0.9

func (m *TextRequest) XXX_DiscardUnknown()

func (*TextRequest) XXX_Marshal added in v0.0.9

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

func (*TextRequest) XXX_Merge added in v0.0.9

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

func (*TextRequest) XXX_Size added in v0.0.9

func (m *TextRequest) XXX_Size() int

func (*TextRequest) XXX_Unmarshal added in v0.0.9

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

type TextsReply added in v0.0.18

type TextsReply struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid                 string   `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Text                 []string `protobuf:"bytes,3,rep,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TextsReply) Descriptor added in v0.0.18

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

func (*TextsReply) GetId added in v0.0.18

func (m *TextsReply) GetId() int64

func (*TextsReply) GetText added in v0.0.18

func (m *TextsReply) GetText() []string

func (*TextsReply) GetUuid added in v0.0.18

func (m *TextsReply) GetUuid() string

func (*TextsReply) ProtoMessage added in v0.0.18

func (*TextsReply) ProtoMessage()

func (*TextsReply) Reset added in v0.0.18

func (m *TextsReply) Reset()

func (*TextsReply) String added in v0.0.18

func (m *TextsReply) String() string

func (*TextsReply) XXX_DiscardUnknown added in v0.0.18

func (m *TextsReply) XXX_DiscardUnknown()

func (*TextsReply) XXX_Marshal added in v0.0.18

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

func (*TextsReply) XXX_Merge added in v0.0.18

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

func (*TextsReply) XXX_Size added in v0.0.18

func (m *TextsReply) XXX_Size() int

func (*TextsReply) XXX_Unmarshal added in v0.0.18

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

type TodoClient added in v0.0.24

type TodoClient interface {
	CreateTodo(ctx context.Context, in *TodoRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetTodo(ctx context.Context, in *TodoRequest, opts ...grpc.CallOption) (*TodoReply, error)
	GetTodos(ctx context.Context, in *TodoRequest, opts ...grpc.CallOption) (*TodosReply, error)
	DeleteTodo(ctx context.Context, in *TodoRequest, opts ...grpc.CallOption) (*StateReply, error)
	UpdateTodo(ctx context.Context, in *TodoRequest, opts ...grpc.CallOption) (*StateReply, error)
	CompleteTodo(ctx context.Context, in *TodoRequest, opts ...grpc.CallOption) (*StateReply, error)
}

TodoClient is the client API for Todo service.

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

func NewTodoClient added in v0.0.24

func NewTodoClient(cc *grpc.ClientConn) TodoClient

type TodoItem added in v0.0.24

type TodoItem struct {
	Content              string   `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Priority             int64    `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	IsRemindAtTime       bool     `protobuf:"varint,3,opt,name=IsRemindAtTime,proto3" json:"IsRemindAtTime,omitempty"`
	RemindAt             string   `protobuf:"bytes,4,opt,name=remindAt,proto3" json:"remindAt,omitempty"`
	RepeatMethod         string   `protobuf:"bytes,5,opt,name=repeatMethod,proto3" json:"repeatMethod,omitempty"`
	RepeatRule           string   `protobuf:"bytes,6,opt,name=repeatRule,proto3" json:"repeatRule,omitempty"`
	Remark               string   `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`
	Complete             bool     `protobuf:"varint,8,opt,name=complete,proto3" json:"complete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TodoItem) Descriptor added in v0.0.24

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

func (*TodoItem) GetComplete added in v0.0.24

func (m *TodoItem) GetComplete() bool

func (*TodoItem) GetContent added in v0.0.24

func (m *TodoItem) GetContent() string

func (*TodoItem) GetIsRemindAtTime added in v0.0.24

func (m *TodoItem) GetIsRemindAtTime() bool

func (*TodoItem) GetPriority added in v0.0.24

func (m *TodoItem) GetPriority() int64

func (*TodoItem) GetRemark added in v0.0.24

func (m *TodoItem) GetRemark() string

func (*TodoItem) GetRemindAt added in v0.0.24

func (m *TodoItem) GetRemindAt() string

func (*TodoItem) GetRepeatMethod added in v0.0.24

func (m *TodoItem) GetRepeatMethod() string

func (*TodoItem) GetRepeatRule added in v0.0.24

func (m *TodoItem) GetRepeatRule() string

func (*TodoItem) ProtoMessage added in v0.0.24

func (*TodoItem) ProtoMessage()

func (*TodoItem) Reset added in v0.0.24

func (m *TodoItem) Reset()

func (*TodoItem) String added in v0.0.24

func (m *TodoItem) String() string

func (*TodoItem) XXX_DiscardUnknown added in v0.0.24

func (m *TodoItem) XXX_DiscardUnknown()

func (*TodoItem) XXX_Marshal added in v0.0.24

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

func (*TodoItem) XXX_Merge added in v0.0.24

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

func (*TodoItem) XXX_Size added in v0.0.24

func (m *TodoItem) XXX_Size() int

func (*TodoItem) XXX_Unmarshal added in v0.0.24

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

type TodoReply added in v0.0.24

type TodoReply struct {
	Todo                 *TodoItem `protobuf:"bytes,1,opt,name=todo,proto3" json:"todo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*TodoReply) Descriptor added in v0.0.24

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

func (*TodoReply) GetTodo added in v0.0.24

func (m *TodoReply) GetTodo() *TodoItem

func (*TodoReply) ProtoMessage added in v0.0.24

func (*TodoReply) ProtoMessage()

func (*TodoReply) Reset added in v0.0.24

func (m *TodoReply) Reset()

func (*TodoReply) String added in v0.0.24

func (m *TodoReply) String() string

func (*TodoReply) XXX_DiscardUnknown added in v0.0.24

func (m *TodoReply) XXX_DiscardUnknown()

func (*TodoReply) XXX_Marshal added in v0.0.24

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

func (*TodoReply) XXX_Merge added in v0.0.24

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

func (*TodoReply) XXX_Size added in v0.0.24

func (m *TodoReply) XXX_Size() int

func (*TodoReply) XXX_Unmarshal added in v0.0.24

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

type TodoRequest added in v0.0.24

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

func (*TodoRequest) Descriptor added in v0.0.24

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

func (*TodoRequest) GetContent added in v0.0.24

func (m *TodoRequest) GetContent() string

func (*TodoRequest) GetId added in v0.0.24

func (m *TodoRequest) GetId() int64

func (*TodoRequest) ProtoMessage added in v0.0.24

func (*TodoRequest) ProtoMessage()

func (*TodoRequest) Reset added in v0.0.24

func (m *TodoRequest) Reset()

func (*TodoRequest) String added in v0.0.24

func (m *TodoRequest) String() string

func (*TodoRequest) XXX_DiscardUnknown added in v0.0.24

func (m *TodoRequest) XXX_DiscardUnknown()

func (*TodoRequest) XXX_Marshal added in v0.0.24

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

func (*TodoRequest) XXX_Merge added in v0.0.24

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

func (*TodoRequest) XXX_Size added in v0.0.24

func (m *TodoRequest) XXX_Size() int

func (*TodoRequest) XXX_Unmarshal added in v0.0.24

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

type TodoServer added in v0.0.24

type TodoServer interface {
	CreateTodo(context.Context, *TodoRequest) (*StateReply, error)
	GetTodo(context.Context, *TodoRequest) (*TodoReply, error)
	GetTodos(context.Context, *TodoRequest) (*TodosReply, error)
	DeleteTodo(context.Context, *TodoRequest) (*StateReply, error)
	UpdateTodo(context.Context, *TodoRequest) (*StateReply, error)
	CompleteTodo(context.Context, *TodoRequest) (*StateReply, error)
}

TodoServer is the server API for Todo service.

type TodosReply added in v0.0.24

type TodosReply struct {
	Todos                []*TodoItem `protobuf:"bytes,1,rep,name=todos,proto3" json:"todos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*TodosReply) Descriptor added in v0.0.24

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

func (*TodosReply) GetTodos added in v0.0.24

func (m *TodosReply) GetTodos() []*TodoItem

func (*TodosReply) ProtoMessage added in v0.0.24

func (*TodosReply) ProtoMessage()

func (*TodosReply) Reset added in v0.0.24

func (m *TodosReply) Reset()

func (*TodosReply) String added in v0.0.24

func (m *TodosReply) String() string

func (*TodosReply) XXX_DiscardUnknown added in v0.0.24

func (m *TodosReply) XXX_DiscardUnknown()

func (*TodosReply) XXX_Marshal added in v0.0.24

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

func (*TodosReply) XXX_Merge added in v0.0.24

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

func (*TodosReply) XXX_Size added in v0.0.24

func (m *TodosReply) XXX_Size() int

func (*TodosReply) XXX_Unmarshal added in v0.0.24

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

type TriggerRequest added in v0.0.18

type TriggerRequest struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Kind                 string   `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Flag                 string   `protobuf:"bytes,3,opt,name=flag,proto3" json:"flag,omitempty"`
	Secret               string   `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	Header               string   `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"`
	Body                 string   `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	MessageId            int64    `protobuf:"varint,7,opt,name=messageId,proto3" json:"messageId,omitempty"`
	MessageText          string   `protobuf:"bytes,8,opt,name=messageText,proto3" json:"messageText,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TriggerRequest) Descriptor added in v0.0.18

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

func (*TriggerRequest) GetBody added in v0.0.18

func (m *TriggerRequest) GetBody() string

func (*TriggerRequest) GetFlag added in v0.0.18

func (m *TriggerRequest) GetFlag() string

func (*TriggerRequest) GetHeader added in v0.0.18

func (m *TriggerRequest) GetHeader() string

func (*TriggerRequest) GetKind added in v0.0.18

func (m *TriggerRequest) GetKind() string

func (*TriggerRequest) GetMessageId added in v0.0.18

func (m *TriggerRequest) GetMessageId() int64

func (*TriggerRequest) GetMessageText added in v0.0.18

func (m *TriggerRequest) GetMessageText() string

func (*TriggerRequest) GetSecret added in v0.0.18

func (m *TriggerRequest) GetSecret() string

func (*TriggerRequest) GetType added in v0.0.18

func (m *TriggerRequest) GetType() string

func (*TriggerRequest) ProtoMessage added in v0.0.18

func (*TriggerRequest) ProtoMessage()

func (*TriggerRequest) Reset added in v0.0.18

func (m *TriggerRequest) Reset()

func (*TriggerRequest) String added in v0.0.18

func (m *TriggerRequest) String() string

func (*TriggerRequest) XXX_DiscardUnknown added in v0.0.18

func (m *TriggerRequest) XXX_DiscardUnknown()

func (*TriggerRequest) XXX_Marshal added in v0.0.18

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

func (*TriggerRequest) XXX_Merge added in v0.0.18

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

func (*TriggerRequest) XXX_Size added in v0.0.18

func (m *TriggerRequest) XXX_Size() int

func (*TriggerRequest) XXX_Unmarshal added in v0.0.18

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

type UnimplementedFinanceServer added in v0.0.24

type UnimplementedFinanceServer struct {
}

UnimplementedFinanceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFinanceServer) CreateBill added in v0.0.24

func (*UnimplementedFinanceServer) DeleteBill added in v0.0.24

func (*UnimplementedFinanceServer) GetBill added in v0.0.24

func (*UnimplementedFinanceServer) GetBills added in v0.0.24

type UnimplementedMessageServer

type UnimplementedMessageServer struct {
}

UnimplementedMessageServer can be embedded to have forward compatible implementations.

func (*UnimplementedMessageServer) Create

func (*UnimplementedMessageServer) CreateActionMessage added in v0.0.17

func (*UnimplementedMessageServer) CreateActionMessage(ctx context.Context, req *TextRequest) (*StateReply, error)

func (*UnimplementedMessageServer) Delete

func (*UnimplementedMessageServer) DeleteWorkflowMessage added in v0.0.18

func (*UnimplementedMessageServer) DeleteWorkflowMessage(ctx context.Context, req *MessageRequest) (*StateReply, error)

func (*UnimplementedMessageServer) Get

func (*UnimplementedMessageServer) GetActionMessages added in v0.0.17

func (*UnimplementedMessageServer) GetActionMessages(ctx context.Context, req *TextRequest) (*ActionReply, error)

func (*UnimplementedMessageServer) List

func (*UnimplementedMessageServer) Run

func (*UnimplementedMessageServer) Send

type UnimplementedMiddleServer

type UnimplementedMiddleServer struct {
}

UnimplementedMiddleServer can be embedded to have forward compatible implementations.

func (*UnimplementedMiddleServer) CreateCredential added in v0.0.9

func (*UnimplementedMiddleServer) CreateCredential(ctx context.Context, req *KVsRequest) (*StateReply, error)

func (*UnimplementedMiddleServer) CreatePage

func (*UnimplementedMiddleServer) CreateSetting added in v0.0.9

func (*UnimplementedMiddleServer) CreateSetting(ctx context.Context, req *KVRequest) (*StateReply, error)

func (*UnimplementedMiddleServer) GetApps added in v0.0.17

func (*UnimplementedMiddleServer) GetAvailableApp added in v0.0.15

func (*UnimplementedMiddleServer) GetAvailableApp(ctx context.Context, req *TextRequest) (*AppReply, error)

func (*UnimplementedMiddleServer) GetCredential added in v0.0.15

func (*UnimplementedMiddleServer) GetCredentials added in v0.0.9

func (*UnimplementedMiddleServer) GetMaskingCredentials added in v0.0.17

func (*UnimplementedMiddleServer) GetMaskingCredentials(ctx context.Context, req *TextRequest) (*MaskingReply, error)

func (*UnimplementedMiddleServer) GetMenu added in v0.0.9

func (*UnimplementedMiddleServer) GetPage

func (*UnimplementedMiddleServer) GetQrUrl added in v0.0.17

func (*UnimplementedMiddleServer) GetSetting added in v0.0.9

func (*UnimplementedMiddleServer) GetSettings added in v0.0.21

func (*UnimplementedMiddleServer) GetStats added in v0.0.22

func (*UnimplementedMiddleServer) StoreAppOAuth added in v0.0.9

func (*UnimplementedMiddleServer) StoreAppOAuth(ctx context.Context, req *AppRequest) (*StateReply, error)

type UnimplementedNLPServer added in v0.0.24

type UnimplementedNLPServer struct {
}

UnimplementedNLPServer can be embedded to have forward compatible implementations.

func (*UnimplementedNLPServer) Classifier added in v0.0.24

func (*UnimplementedNLPServer) Classifier(ctx context.Context, req *TextRequest) (*TextReply, error)

func (*UnimplementedNLPServer) Pinyin added in v0.0.24

func (*UnimplementedNLPServer) Segmentation added in v0.0.24

func (*UnimplementedNLPServer) Segmentation(ctx context.Context, req *TextRequest) (*WordsReply, error)

type UnimplementedStorageServer added in v0.0.22

type UnimplementedStorageServer struct {
}

UnimplementedStorageServer can be embedded to have forward compatible implementations.

func (*UnimplementedStorageServer) UploadFile added in v0.0.22

type UnimplementedSubscribeServer

type UnimplementedSubscribeServer struct {
}

UnimplementedSubscribeServer can be embedded to have forward compatible implementations.

func (*UnimplementedSubscribeServer) Close

func (*UnimplementedSubscribeServer) List

func (*UnimplementedSubscribeServer) Open

func (*UnimplementedSubscribeServer) Register

func (*UnimplementedSubscribeServer) Status added in v0.0.4

type UnimplementedTaskServer added in v0.0.17

type UnimplementedTaskServer struct {
}

UnimplementedTaskServer can be embedded to have forward compatible implementations.

func (*UnimplementedTaskServer) Delay added in v0.0.20

type UnimplementedTodoServer added in v0.0.24

type UnimplementedTodoServer struct {
}

UnimplementedTodoServer can be embedded to have forward compatible implementations.

func (*UnimplementedTodoServer) CompleteTodo added in v0.0.24

func (*UnimplementedTodoServer) CompleteTodo(ctx context.Context, req *TodoRequest) (*StateReply, error)

func (*UnimplementedTodoServer) CreateTodo added in v0.0.24

func (*UnimplementedTodoServer) DeleteTodo added in v0.0.24

func (*UnimplementedTodoServer) GetTodo added in v0.0.24

func (*UnimplementedTodoServer) GetTodos added in v0.0.24

func (*UnimplementedTodoServer) UpdateTodo added in v0.0.24

type UnimplementedUserServer added in v0.0.24

type UnimplementedUserServer struct {
}

UnimplementedUserServer can be embedded to have forward compatible implementations.

func (*UnimplementedUserServer) Authorization added in v0.0.24

func (*UnimplementedUserServer) Authorization(ctx context.Context, req *TextRequest) (*StateReply, error)

func (*UnimplementedUserServer) GetRole added in v0.0.24

type UnimplementedWorkflowServer added in v0.0.9

type UnimplementedWorkflowServer struct {
}

UnimplementedWorkflowServer can be embedded to have forward compatible implementations.

func (*UnimplementedWorkflowServer) ActionDoc added in v0.0.19

func (*UnimplementedWorkflowServer) CreateTrigger added in v0.0.18

func (*UnimplementedWorkflowServer) CronTrigger added in v0.0.18

func (*UnimplementedWorkflowServer) DeleteTrigger added in v0.0.18

func (*UnimplementedWorkflowServer) RunAction added in v0.0.16

func (*UnimplementedWorkflowServer) SyntaxCheck added in v0.0.18

func (*UnimplementedWorkflowServer) WebhookTrigger added in v0.0.18

type UserClient added in v0.0.24

type UserClient interface {
	Authorization(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetRole(ctx context.Context, in *RoleRequest, opts ...grpc.CallOption) (*RoleReply, error)
}

UserClient is the client API for User service.

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

func NewUserClient added in v0.0.24

func NewUserClient(cc *grpc.ClientConn) UserClient

type UserServer added in v0.0.24

type UserServer interface {
	Authorization(context.Context, *TextRequest) (*StateReply, error)
	GetRole(context.Context, *RoleRequest) (*RoleReply, error)
}

UserServer is the server API for User service.

type WordsReply added in v0.0.24

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

func (*WordsReply) Descriptor added in v0.0.24

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

func (*WordsReply) GetText added in v0.0.24

func (m *WordsReply) GetText() []string

func (*WordsReply) ProtoMessage added in v0.0.24

func (*WordsReply) ProtoMessage()

func (*WordsReply) Reset added in v0.0.24

func (m *WordsReply) Reset()

func (*WordsReply) String added in v0.0.24

func (m *WordsReply) String() string

func (*WordsReply) XXX_DiscardUnknown added in v0.0.24

func (m *WordsReply) XXX_DiscardUnknown()

func (*WordsReply) XXX_Marshal added in v0.0.24

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

func (*WordsReply) XXX_Merge added in v0.0.24

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

func (*WordsReply) XXX_Size added in v0.0.24

func (m *WordsReply) XXX_Size() int

func (*WordsReply) XXX_Unmarshal added in v0.0.24

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

type WorkflowClient added in v0.0.9

type WorkflowClient interface {
	SyntaxCheck(ctx context.Context, in *WorkflowRequest, opts ...grpc.CallOption) (*StateReply, error)
	RunAction(ctx context.Context, in *WorkflowRequest, opts ...grpc.CallOption) (*WorkflowReply, error)
	WebhookTrigger(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*WorkflowReply, error)
	CronTrigger(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*WorkflowReply, error)
	CreateTrigger(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*StateReply, error)
	DeleteTrigger(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*StateReply, error)
	ActionDoc(ctx context.Context, in *WorkflowRequest, opts ...grpc.CallOption) (*WorkflowReply, error)
}

WorkflowClient is the client API for Workflow service.

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

func NewWorkflowClient added in v0.0.9

func NewWorkflowClient(cc *grpc.ClientConn) WorkflowClient

type WorkflowReply added in v0.0.9

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

func (*WorkflowReply) Descriptor added in v0.0.9

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

func (*WorkflowReply) GetText added in v0.0.9

func (m *WorkflowReply) GetText() string

func (*WorkflowReply) ProtoMessage added in v0.0.9

func (*WorkflowReply) ProtoMessage()

func (*WorkflowReply) Reset added in v0.0.9

func (m *WorkflowReply) Reset()

func (*WorkflowReply) String added in v0.0.9

func (m *WorkflowReply) String() string

func (*WorkflowReply) XXX_DiscardUnknown added in v0.0.9

func (m *WorkflowReply) XXX_DiscardUnknown()

func (*WorkflowReply) XXX_Marshal added in v0.0.9

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

func (*WorkflowReply) XXX_Merge added in v0.0.9

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

func (*WorkflowReply) XXX_Size added in v0.0.9

func (m *WorkflowReply) XXX_Size() int

func (*WorkflowReply) XXX_Unmarshal added in v0.0.9

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

type WorkflowRequest added in v0.0.9

type WorkflowRequest struct {
	Text                 string   `protobuf:"bytes,1,opt,name=text,proto3" json:"text,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 (*WorkflowRequest) Descriptor added in v0.0.9

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

func (*WorkflowRequest) GetText added in v0.0.9

func (m *WorkflowRequest) GetText() string

func (*WorkflowRequest) GetType added in v0.0.18

func (m *WorkflowRequest) GetType() string

func (*WorkflowRequest) ProtoMessage added in v0.0.9

func (*WorkflowRequest) ProtoMessage()

func (*WorkflowRequest) Reset added in v0.0.9

func (m *WorkflowRequest) Reset()

func (*WorkflowRequest) String added in v0.0.9

func (m *WorkflowRequest) String() string

func (*WorkflowRequest) XXX_DiscardUnknown added in v0.0.9

func (m *WorkflowRequest) XXX_DiscardUnknown()

func (*WorkflowRequest) XXX_Marshal added in v0.0.9

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

func (*WorkflowRequest) XXX_Merge added in v0.0.9

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

func (*WorkflowRequest) XXX_Size added in v0.0.9

func (m *WorkflowRequest) XXX_Size() int

func (*WorkflowRequest) XXX_Unmarshal added in v0.0.9

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

type WorkflowServer added in v0.0.9

WorkflowServer is the server API for Workflow service.

Jump to

Keyboard shortcuts

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