pb

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterChatbotSvcServer added in v0.0.25

func RegisterChatbotSvcServer(s *grpc.Server, srv ChatbotSvcServer)

func RegisterFinanceSvcServer added in v0.0.25

func RegisterFinanceSvcServer(s *grpc.Server, srv FinanceSvcServer)

func RegisterMessageSvcServer added in v0.0.25

func RegisterMessageSvcServer(s *grpc.Server, srv MessageSvcServer)

func RegisterMiddleSvcServer added in v0.0.25

func RegisterMiddleSvcServer(s *grpc.Server, srv MiddleSvcServer)

func RegisterNLPSvcServer added in v0.0.25

func RegisterNLPSvcServer(s *grpc.Server, srv NLPSvcServer)

func RegisterStorageSvcServer added in v0.0.25

func RegisterStorageSvcServer(s *grpc.Server, srv StorageSvcServer)

func RegisterSubscribeSvcServer added in v0.0.25

func RegisterSubscribeSvcServer(s *grpc.Server, srv SubscribeSvcServer)

func RegisterTaskSvcServer added in v0.0.25

func RegisterTaskSvcServer(s *grpc.Server, srv TaskSvcServer)

func RegisterTodoSvcServer added in v0.0.25

func RegisterTodoSvcServer(s *grpc.Server, srv TodoSvcServer)

func RegisterUserSvcServer added in v0.0.25

func RegisterUserSvcServer(s *grpc.Server, srv UserSvcServer)

func RegisterWorkflowSvcServer added in v0.0.25

func RegisterWorkflowSvcServer(s *grpc.Server, srv WorkflowSvcServer)

Types

type Account added in v0.0.25

type Account 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"`
	Balance              float32  `protobuf:"fixed32,3,opt,name=balance,proto3" json:"balance,omitempty"`
	CreatedAt            string   `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor added in v0.0.25

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

func (*Account) GetBalance added in v0.0.25

func (m *Account) GetBalance() float32

func (*Account) GetCreatedAt added in v0.0.25

func (m *Account) GetCreatedAt() string

func (*Account) GetId added in v0.0.25

func (m *Account) GetId() int64

func (*Account) GetName added in v0.0.25

func (m *Account) GetName() string

func (*Account) ProtoMessage added in v0.0.25

func (*Account) ProtoMessage()

func (*Account) Reset added in v0.0.25

func (m *Account) Reset()

func (*Account) String added in v0.0.25

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown added in v0.0.25

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal added in v0.0.25

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

func (*Account) XXX_Merge added in v0.0.25

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

func (*Account) XXX_Size added in v0.0.25

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal added in v0.0.25

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

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 {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: db:"type"
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" db:"type"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"token"
	Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty" db:"token"`
	// @inject_tag: db:"extra"
	Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty" db:"extra"`
	// @inject_tag: db:"created_at"
	CreatedAt string `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt            string   `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" db:"updated_at"`
	Title                string   `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
	IsAuthorized         bool     `protobuf:"varint,9,opt,name=isAuthorized,proto3" json:"isAuthorized,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) GetCreatedAt added in v0.0.25

func (m *App) GetCreatedAt() string

func (*App) GetExtra added in v0.0.17

func (m *App) GetExtra() string

func (*App) GetId added in v0.0.25

func (m *App) GetId() int64

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) 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) GetUpdatedAt added in v0.0.25

func (m *App) GetUpdatedAt() 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 {
	App                  *App     `protobuf:"bytes,1,opt,name=app,proto3" json:"app,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) GetApp added in v0.0.25

func (m *AppRequest) GetApp() *App

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 Assets added in v0.0.25

type Assets struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AccountId            int64    `protobuf:"varint,2,opt,name=accountId,proto3" json:"accountId,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Category             string   `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	Balance              float32  `protobuf:"fixed32,5,opt,name=balance,proto3" json:"balance,omitempty"`
	CreatedAt            string   `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Assets) Descriptor added in v0.0.25

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

func (*Assets) GetAccountId added in v0.0.25

func (m *Assets) GetAccountId() int64

func (*Assets) GetBalance added in v0.0.25

func (m *Assets) GetBalance() float32

func (*Assets) GetCategory added in v0.0.25

func (m *Assets) GetCategory() string

func (*Assets) GetCreatedAt added in v0.0.25

func (m *Assets) GetCreatedAt() string

func (*Assets) GetId added in v0.0.25

func (m *Assets) GetId() int64

func (*Assets) GetName added in v0.0.25

func (m *Assets) GetName() string

func (*Assets) ProtoMessage added in v0.0.25

func (*Assets) ProtoMessage()

func (*Assets) Reset added in v0.0.25

func (m *Assets) Reset()

func (*Assets) String added in v0.0.25

func (m *Assets) String() string

func (*Assets) XXX_DiscardUnknown added in v0.0.25

func (m *Assets) XXX_DiscardUnknown()

func (*Assets) XXX_Marshal added in v0.0.25

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

func (*Assets) XXX_Merge added in v0.0.25

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

func (*Assets) XXX_Size added in v0.0.25

func (m *Assets) XXX_Size() int

func (*Assets) XXX_Unmarshal added in v0.0.25

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

type AttrChange added in v0.0.25

type AttrChange struct {
	UserId               int64    `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,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 (*AttrChange) Descriptor added in v0.0.25

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

func (*AttrChange) GetContent added in v0.0.25

func (m *AttrChange) GetContent() string

func (*AttrChange) GetUserId added in v0.0.25

func (m *AttrChange) GetUserId() int64

func (*AttrChange) ProtoMessage added in v0.0.25

func (*AttrChange) ProtoMessage()

func (*AttrChange) Reset added in v0.0.25

func (m *AttrChange) Reset()

func (*AttrChange) String added in v0.0.25

func (m *AttrChange) String() string

func (*AttrChange) XXX_DiscardUnknown added in v0.0.25

func (m *AttrChange) XXX_DiscardUnknown()

func (*AttrChange) XXX_Marshal added in v0.0.25

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

func (*AttrChange) XXX_Merge added in v0.0.25

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

func (*AttrChange) XXX_Size added in v0.0.25

func (m *AttrChange) XXX_Size() int

func (*AttrChange) XXX_Unmarshal added in v0.0.25

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

type Bill added in v0.0.24

type Bill struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Date                 string   `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	Payee                string   `protobuf:"bytes,3,opt,name=payee,proto3" json:"payee,omitempty"`
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Amount               float32  `protobuf:"fixed32,5,opt,name=amount,proto3" json:"amount,omitempty"`
	CreatedAt            string   `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt            string   `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,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) GetAmount added in v0.0.25

func (m *Bill) GetAmount() float32

func (*Bill) GetCreatedAt added in v0.0.25

func (m *Bill) GetCreatedAt() string

func (*Bill) GetDate added in v0.0.25

func (m *Bill) GetDate() string

func (*Bill) GetDescription added in v0.0.25

func (m *Bill) GetDescription() string

func (*Bill) GetId added in v0.0.25

func (m *Bill) GetId() int64

func (*Bill) GetPayee added in v0.0.25

func (m *Bill) GetPayee() string

func (*Bill) GetUpdatedAt added in v0.0.25

func (m *Bill) GetUpdatedAt() 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 BillRecord added in v0.0.25

type BillRecord struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	BillId               int64    `protobuf:"varint,2,opt,name=billId,proto3" json:"billId,omitempty"`
	Posting              string   `protobuf:"bytes,3,opt,name=posting,proto3" json:"posting,omitempty"`
	Amount               float32  `protobuf:"fixed32,4,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BillRecord) Descriptor added in v0.0.25

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

func (*BillRecord) GetAmount added in v0.0.25

func (m *BillRecord) GetAmount() float32

func (*BillRecord) GetBillId added in v0.0.25

func (m *BillRecord) GetBillId() int64

func (*BillRecord) GetId added in v0.0.25

func (m *BillRecord) GetId() int64

func (*BillRecord) GetPosting added in v0.0.25

func (m *BillRecord) GetPosting() string

func (*BillRecord) ProtoMessage added in v0.0.25

func (*BillRecord) ProtoMessage()

func (*BillRecord) Reset added in v0.0.25

func (m *BillRecord) Reset()

func (*BillRecord) String added in v0.0.25

func (m *BillRecord) String() string

func (*BillRecord) XXX_DiscardUnknown added in v0.0.25

func (m *BillRecord) XXX_DiscardUnknown()

func (*BillRecord) XXX_Marshal added in v0.0.25

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

func (*BillRecord) XXX_Merge added in v0.0.25

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

func (*BillRecord) XXX_Size added in v0.0.25

func (m *BillRecord) XXX_Size() int

func (*BillRecord) XXX_Unmarshal added in v0.0.25

func (m *BillRecord) 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 BytesReply added in v0.0.25

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

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

func (*BytesReply) GetData added in v0.0.25

func (m *BytesReply) GetData() []byte

func (*BytesReply) ProtoMessage added in v0.0.25

func (*BytesReply) ProtoMessage()

func (*BytesReply) Reset added in v0.0.25

func (m *BytesReply) Reset()

func (*BytesReply) String added in v0.0.25

func (m *BytesReply) String() string

func (*BytesReply) XXX_DiscardUnknown added in v0.0.25

func (m *BytesReply) XXX_DiscardUnknown()

func (*BytesReply) XXX_Marshal added in v0.0.25

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

func (*BytesReply) XXX_Merge added in v0.0.25

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

func (*BytesReply) XXX_Size added in v0.0.25

func (m *BytesReply) XXX_Size() int

func (*BytesReply) XXX_Unmarshal added in v0.0.25

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

type ChatbotReply added in v0.0.25

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

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

func (*ChatbotReply) GetText added in v0.0.25

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

func (*ChatbotReply) ProtoMessage added in v0.0.25

func (*ChatbotReply) ProtoMessage()

func (*ChatbotReply) Reset added in v0.0.25

func (m *ChatbotReply) Reset()

func (*ChatbotReply) String added in v0.0.25

func (m *ChatbotReply) String() string

func (*ChatbotReply) XXX_DiscardUnknown added in v0.0.25

func (m *ChatbotReply) XXX_DiscardUnknown()

func (*ChatbotReply) XXX_Marshal added in v0.0.25

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

func (*ChatbotReply) XXX_Merge added in v0.0.25

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

func (*ChatbotReply) XXX_Size added in v0.0.25

func (m *ChatbotReply) XXX_Size() int

func (*ChatbotReply) XXX_Unmarshal added in v0.0.25

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

type ChatbotRequest added in v0.0.25

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

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

func (*ChatbotRequest) GetText added in v0.0.25

func (m *ChatbotRequest) GetText() string

func (*ChatbotRequest) ProtoMessage added in v0.0.25

func (*ChatbotRequest) ProtoMessage()

func (*ChatbotRequest) Reset added in v0.0.25

func (m *ChatbotRequest) Reset()

func (*ChatbotRequest) String added in v0.0.25

func (m *ChatbotRequest) String() string

func (*ChatbotRequest) XXX_DiscardUnknown added in v0.0.25

func (m *ChatbotRequest) XXX_DiscardUnknown()

func (*ChatbotRequest) XXX_Marshal added in v0.0.25

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

func (*ChatbotRequest) XXX_Merge added in v0.0.25

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

func (*ChatbotRequest) XXX_Size added in v0.0.25

func (m *ChatbotRequest) XXX_Size() int

func (*ChatbotRequest) XXX_Unmarshal added in v0.0.25

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

type ChatbotSvcClient added in v0.0.25

type ChatbotSvcClient interface {
	Handle(ctx context.Context, in *ChatbotRequest, opts ...grpc.CallOption) (*ChatbotReply, error)
}

ChatbotSvcClient is the client API for ChatbotSvc service.

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

func NewChatbotSvcClient added in v0.0.25

func NewChatbotSvcClient(cc *grpc.ClientConn) ChatbotSvcClient

type ChatbotSvcServer added in v0.0.25

type ChatbotSvcServer interface {
	Handle(context.Context, *ChatbotRequest) (*ChatbotReply, error)
}

ChatbotSvcServer is the server API for ChatbotSvc service.

type Credential added in v0.0.17

type Credential struct {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"type"
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" db:"type"`
	// @inject_tag: db:"content"
	Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty" db:"content"`
	// @inject_tag: db:"created_at"
	CreatedAt string `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt            string   `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" db:"updated_at"`
	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) GetCreatedAt added in v0.0.25

func (m *Credential) GetCreatedAt() string

func (*Credential) GetId added in v0.0.25

func (m *Credential) GetId() int64

func (*Credential) GetName added in v0.0.17

func (m *Credential) GetName() string

func (*Credential) GetType added in v0.0.17

func (m *Credential) GetType() string

func (*Credential) GetUpdatedAt added in v0.0.25

func (m *Credential) GetUpdatedAt() 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 {
	// @inject_tag: query:"name"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" query:"name"`
	// @inject_tag: query:"type"
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" query:"type"`
	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 Equipment added in v0.0.25

type Equipment 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"`
	Quality              string   `protobuf:"bytes,3,opt,name=quality,proto3" json:"quality,omitempty"`
	Level                int64    `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	Category             string   `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
	CreatedAt            string   `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Equipment) Descriptor added in v0.0.25

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

func (*Equipment) GetCategory added in v0.0.25

func (m *Equipment) GetCategory() string

func (*Equipment) GetCreatedAt added in v0.0.25

func (m *Equipment) GetCreatedAt() string

func (*Equipment) GetId added in v0.0.25

func (m *Equipment) GetId() int64

func (*Equipment) GetLevel added in v0.0.25

func (m *Equipment) GetLevel() int64

func (*Equipment) GetName added in v0.0.25

func (m *Equipment) GetName() string

func (*Equipment) GetQuality added in v0.0.25

func (m *Equipment) GetQuality() string

func (*Equipment) ProtoMessage added in v0.0.25

func (*Equipment) ProtoMessage()

func (*Equipment) Reset added in v0.0.25

func (m *Equipment) Reset()

func (*Equipment) String added in v0.0.25

func (m *Equipment) String() string

func (*Equipment) XXX_DiscardUnknown added in v0.0.25

func (m *Equipment) XXX_DiscardUnknown()

func (*Equipment) XXX_Marshal added in v0.0.25

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

func (*Equipment) XXX_Merge added in v0.0.25

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

func (*Equipment) XXX_Size added in v0.0.25

func (m *Equipment) XXX_Size() int

func (*Equipment) XXX_Unmarshal added in v0.0.25

func (m *Equipment) 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 FinanceSvcClient added in v0.0.25

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

FinanceSvcClient is the client API for FinanceSvc service.

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

func NewFinanceSvcClient added in v0.0.25

func NewFinanceSvcClient(cc *grpc.ClientConn) FinanceSvcClient

type FinanceSvcServer added in v0.0.25

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

FinanceSvcServer is the server API for FinanceSvc 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 Message added in v0.0.25

type Message struct {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: db:"uuid"
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty" db:"uuid"`
	// @inject_tag: db:"text"
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty" db:"text"`
	// @inject_tag: db:"type"
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty" db:"type"`
	// @inject_tag: db:"channel"
	Channel string `protobuf:"bytes,5,opt,name=channel,proto3" json:"channel,omitempty" db:"channel"`
	// @inject_tag: db:"created_at"
	CreatedAt            string   `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Message) Descriptor added in v0.0.25

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

func (*Message) GetChannel added in v0.0.25

func (m *Message) GetChannel() string

func (*Message) GetCreatedAt added in v0.0.25

func (m *Message) GetCreatedAt() string

func (*Message) GetId added in v0.0.25

func (m *Message) GetId() int64

func (*Message) GetText added in v0.0.25

func (m *Message) GetText() string

func (*Message) GetType added in v0.0.25

func (m *Message) GetType() string

func (*Message) GetUuid added in v0.0.25

func (m *Message) GetUuid() string

func (*Message) IsMessageOfAction added in v0.0.25

func (m *Message) IsMessageOfAction() bool

func (*Message) ProtoMessage added in v0.0.25

func (*Message) ProtoMessage()

func (*Message) RemoveActionFlag added in v0.0.25

func (m *Message) RemoveActionFlag() string

func (*Message) Reset added in v0.0.25

func (m *Message) Reset()

func (*Message) String added in v0.0.25

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown added in v0.0.25

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal added in v0.0.25

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

func (*Message) XXX_Merge added in v0.0.25

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

func (*Message) XXX_Size added in v0.0.25

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal added in v0.0.25

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

type MessageReply

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

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

func (*MessageReply) GetMessage added in v0.0.25

func (m *MessageReply) GetMessage() *Message

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 {
	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 (*MessageRequest) Descriptor

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

func (*MessageRequest) GetMessage added in v0.0.25

func (m *MessageRequest) GetMessage() *Message

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 MessageSvcClient added in v0.0.25

type MessageSvcClient interface {
	List(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessagesReply, error)
	Get(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessageReply, error)
	Create(ctx context.Context, in *MessageRequest, opts ...grpc.CallOption) (*MessageReply, 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)
}

MessageSvcClient is the client API for MessageSvc service.

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

func NewMessageSvcClient added in v0.0.25

func NewMessageSvcClient(cc *grpc.ClientConn) MessageSvcClient

type MessageSvcServer added in v0.0.25

MessageSvcServer is the server API for MessageSvc service.

type MessagesReply added in v0.0.25

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

func (*MessagesReply) Descriptor added in v0.0.25

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

func (*MessagesReply) GetMessages added in v0.0.25

func (m *MessagesReply) GetMessages() []*Message

func (*MessagesReply) ProtoMessage added in v0.0.25

func (*MessagesReply) ProtoMessage()

func (*MessagesReply) Reset added in v0.0.25

func (m *MessagesReply) Reset()

func (*MessagesReply) String added in v0.0.25

func (m *MessagesReply) String() string

func (*MessagesReply) XXX_DiscardUnknown added in v0.0.25

func (m *MessagesReply) XXX_DiscardUnknown()

func (*MessagesReply) XXX_Marshal added in v0.0.25

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

func (*MessagesReply) XXX_Merge added in v0.0.25

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

func (*MessagesReply) XXX_Size added in v0.0.25

func (m *MessagesReply) XXX_Size() int

func (*MessagesReply) XXX_Unmarshal added in v0.0.25

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

type MiddleSvcClient added in v0.0.25

type MiddleSvcClient 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)
	GetRoleImageUrl(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*TextReply, error)
}

MiddleSvcClient is the client API for MiddleSvc service.

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

func NewMiddleSvcClient added in v0.0.25

func NewMiddleSvcClient(cc *grpc.ClientConn) MiddleSvcClient

type MiddleSvcServer added in v0.0.25

MiddleSvcServer is the server API for MiddleSvc service.

type NLPSvcClient added in v0.0.25

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

NLPSvcClient is the client API for NLPSvc service.

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

func NewNLPSvcClient added in v0.0.25

func NewNLPSvcClient(cc *grpc.ClientConn) NLPSvcClient

type NLPSvcServer added in v0.0.25

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

NLPSvcServer is the server API for NLPSvc service.

type Page added in v0.0.25

type Page struct {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: query:"uuid" db:"uuid"
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty" query:"uuid" db:"uuid"`
	// @inject_tag: query:"title" db:"title"
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" query:"title" db:"title"`
	// @inject_tag: query:"content" db:"content"
	Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty" query:"content" db:"content"`
	// @inject_tag: query:"type" db:"type"
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" query:"type" db:"type"`
	// @inject_tag: db:"created_at"
	CreatedAt            string   `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Page) Descriptor added in v0.0.25

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

func (*Page) GetContent added in v0.0.25

func (m *Page) GetContent() string

func (*Page) GetCreatedAt added in v0.0.25

func (m *Page) GetCreatedAt() string

func (*Page) GetId added in v0.0.25

func (m *Page) GetId() int64

func (*Page) GetTitle added in v0.0.25

func (m *Page) GetTitle() string

func (*Page) GetType added in v0.0.25

func (m *Page) GetType() string

func (*Page) GetUuid added in v0.0.25

func (m *Page) GetUuid() string

func (*Page) ProtoMessage added in v0.0.25

func (*Page) ProtoMessage()

func (*Page) Reset added in v0.0.25

func (m *Page) Reset()

func (*Page) String added in v0.0.25

func (m *Page) String() string

func (*Page) XXX_DiscardUnknown added in v0.0.25

func (m *Page) XXX_DiscardUnknown()

func (*Page) XXX_Marshal added in v0.0.25

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

func (*Page) XXX_Merge added in v0.0.25

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

func (*Page) XXX_Size added in v0.0.25

func (m *Page) XXX_Size() int

func (*Page) XXX_Unmarshal added in v0.0.25

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

type PageReply

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

func (*PageReply) Descriptor

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

func (*PageReply) GetPage added in v0.0.25

func (m *PageReply) GetPage() *Page

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 {
	Page                 *Page    `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PageRequest) Descriptor

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

func (*PageRequest) GetPage added in v0.0.25

func (m *PageRequest) GetPage() *Page

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 Quest added in v0.0.25

type Quest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title                string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Exp                  int64    `protobuf:"varint,3,opt,name=exp,proto3" json:"exp,omitempty"`
	AttrPoints           string   `protobuf:"bytes,4,opt,name=attrPoints,proto3" json:"attrPoints,omitempty"`
	Preconditions        string   `protobuf:"bytes,5,opt,name=preconditions,proto3" json:"preconditions,omitempty"`
	CreatedAt            string   `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Quest) Descriptor added in v0.0.25

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

func (*Quest) GetAttrPoints added in v0.0.25

func (m *Quest) GetAttrPoints() string

func (*Quest) GetCreatedAt added in v0.0.25

func (m *Quest) GetCreatedAt() string

func (*Quest) GetExp added in v0.0.25

func (m *Quest) GetExp() int64

func (*Quest) GetId added in v0.0.25

func (m *Quest) GetId() int64

func (*Quest) GetPreconditions added in v0.0.25

func (m *Quest) GetPreconditions() string

func (*Quest) GetTitle added in v0.0.25

func (m *Quest) GetTitle() string

func (*Quest) ProtoMessage added in v0.0.25

func (*Quest) ProtoMessage()

func (*Quest) Reset added in v0.0.25

func (m *Quest) Reset()

func (*Quest) String added in v0.0.25

func (m *Quest) String() string

func (*Quest) XXX_DiscardUnknown added in v0.0.25

func (m *Quest) XXX_DiscardUnknown()

func (*Quest) XXX_Marshal added in v0.0.25

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

func (*Quest) XXX_Merge added in v0.0.25

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

func (*Quest) XXX_Size added in v0.0.25

func (m *Quest) XXX_Size() int

func (*Quest) XXX_Unmarshal added in v0.0.25

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

type Role added in v0.0.24

type Role struct {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty" db:"user_id"`
	// @inject_tag: db:"profession"
	Profession string `protobuf:"bytes,3,opt,name=profession,proto3" json:"profession,omitempty" db:"profession"`
	// @inject_tag: db:"exp"
	Exp int64 `protobuf:"varint,4,opt,name=exp,proto3" json:"exp,omitempty" db:"exp"`
	// @inject_tag: db:"level"
	Level int64 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty" db:"level"`
	// @inject_tag: db:"strength"
	Strength int64 `protobuf:"varint,6,opt,name=strength,proto3" json:"strength,omitempty" db:"strength"`
	// @inject_tag: db:"culture"
	Culture int64 `protobuf:"varint,7,opt,name=culture,proto3" json:"culture,omitempty" db:"culture"`
	// @inject_tag: db:"environment"
	Environment int64 `protobuf:"varint,8,opt,name=environment,proto3" json:"environment,omitempty" db:"environment"`
	// @inject_tag: db:"charisma"
	Charisma int64 `protobuf:"varint,9,opt,name=charisma,proto3" json:"charisma,omitempty" db:"charisma"`
	// @inject_tag: db:"talent"
	Talent int64 `protobuf:"varint,10,opt,name=talent,proto3" json:"talent,omitempty" db:"talent"`
	// @inject_tag: db:"intellect"
	Intellect int64 `protobuf:"varint,11,opt,name=intellect,proto3" json:"intellect,omitempty" db:"intellect"`
	// @inject_tag: db:"created_at"
	CreatedAt string `protobuf:"bytes,12,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt            string   `protobuf:"bytes,13,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" db:"updated_at"`
	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) GetCreatedAt added in v0.0.25

func (m *Role) GetCreatedAt() string

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) GetId added in v0.0.25

func (m *Role) GetId() 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) GetUpdatedAt added in v0.0.25

func (m *Role) GetUpdatedAt() string

func (*Role) GetUserId added in v0.0.25

func (m *Role) GetUserId() int64

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 StorageSvcClient added in v0.0.25

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

StorageSvcClient is the client API for StorageSvc service.

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

func NewStorageSvcClient added in v0.0.25

func NewStorageSvcClient(cc *grpc.ClientConn) StorageSvcClient

type StorageSvcServer added in v0.0.25

type StorageSvcServer interface {
	UploadFile(StorageSvc_UploadFileServer) error
}

StorageSvcServer is the server API for StorageSvc service.

type StorageSvc_UploadFileClient added in v0.0.25

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

type StorageSvc_UploadFileServer added in v0.0.25

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

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 SubscribeSvcClient added in v0.0.25

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

SubscribeSvcClient is the client API for SubscribeSvc service.

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

func NewSubscribeSvcClient added in v0.0.25

func NewSubscribeSvcClient(cc *grpc.ClientConn) SubscribeSvcClient

type SubscribeSvcServer added in v0.0.25

SubscribeSvcServer is the server API for SubscribeSvc service.

type TaskSvcClient added in v0.0.25

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

TaskSvcClient is the client API for TaskSvc service.

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

func NewTaskSvcClient added in v0.0.25

func NewTaskSvcClient(cc *grpc.ClientConn) TaskSvcClient

type TaskSvcServer added in v0.0.25

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

TaskSvcServer is the server API for TaskSvc 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 Todo added in v0.0.25

type Todo struct {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: db:"content"
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty" db:"content"`
	// @inject_tag: db:"category"
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty" db:"category"`
	// @inject_tag: db:"remark"
	Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty" db:"remark"`
	// @inject_tag: db:"priority"
	Priority int64 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty" db:"priority"`
	// @inject_tag: db:"is_remind_at_time"
	IsRemindAtTime bool `protobuf:"varint,6,opt,name=isRemindAtTime,proto3" json:"isRemindAtTime,omitempty" db:"is_remind_at_time"`
	// @inject_tag: db:"remind_at"
	RemindAt string `protobuf:"bytes,7,opt,name=remindAt,proto3" json:"remindAt,omitempty" db:"remind_at"`
	// @inject_tag: db:"repeat_method"
	RepeatMethod string `protobuf:"bytes,8,opt,name=repeatMethod,proto3" json:"repeatMethod,omitempty" db:"repeat_method"`
	// @inject_tag: db:"repeat_rule"
	RepeatRule string `protobuf:"bytes,9,opt,name=repeatRule,proto3" json:"repeatRule,omitempty" db:"repeat_rule"`
	// @inject_tag: db:"repeat_end_at"
	RepeatEndAt string `protobuf:"bytes,10,opt,name=repeatEndAt,proto3" json:"repeatEndAt,omitempty" db:"repeat_end_at"`
	// @inject_tag: db:"complete"
	Complete bool `protobuf:"varint,11,opt,name=complete,proto3" json:"complete,omitempty" db:"complete"`
	// @inject_tag: db:"created_at"
	CreatedAt string `protobuf:"bytes,12,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt            string   `protobuf:"bytes,13,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" db:"updated_at"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Todo) Descriptor added in v0.0.25

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

func (*Todo) GetCategory added in v0.0.25

func (m *Todo) GetCategory() string

func (*Todo) GetComplete added in v0.0.25

func (m *Todo) GetComplete() bool

func (*Todo) GetContent added in v0.0.25

func (m *Todo) GetContent() string

func (*Todo) GetCreatedAt added in v0.0.25

func (m *Todo) GetCreatedAt() string

func (*Todo) GetId added in v0.0.25

func (m *Todo) GetId() int64

func (*Todo) GetIsRemindAtTime added in v0.0.25

func (m *Todo) GetIsRemindAtTime() bool

func (*Todo) GetPriority added in v0.0.25

func (m *Todo) GetPriority() int64

func (*Todo) GetRemark added in v0.0.25

func (m *Todo) GetRemark() string

func (*Todo) GetRemindAt added in v0.0.25

func (m *Todo) GetRemindAt() string

func (*Todo) GetRepeatEndAt added in v0.0.25

func (m *Todo) GetRepeatEndAt() string

func (*Todo) GetRepeatMethod added in v0.0.25

func (m *Todo) GetRepeatMethod() string

func (*Todo) GetRepeatRule added in v0.0.25

func (m *Todo) GetRepeatRule() string

func (*Todo) GetUpdatedAt added in v0.0.25

func (m *Todo) GetUpdatedAt() string

func (*Todo) ProtoMessage added in v0.0.25

func (*Todo) ProtoMessage()

func (*Todo) Reset added in v0.0.25

func (m *Todo) Reset()

func (*Todo) String added in v0.0.25

func (m *Todo) String() string

func (*Todo) XXX_DiscardUnknown added in v0.0.25

func (m *Todo) XXX_DiscardUnknown()

func (*Todo) XXX_Marshal added in v0.0.25

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

func (*Todo) XXX_Merge added in v0.0.25

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

func (*Todo) XXX_Size added in v0.0.25

func (m *Todo) XXX_Size() int

func (*Todo) XXX_Unmarshal added in v0.0.25

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

type TodoReply added in v0.0.24

type TodoReply struct {
	Todo                 *Todo    `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() *Todo

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 {
	Todo                 *Todo    `protobuf:"bytes,1,opt,name=todo,proto3" json:"todo,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) GetTodo added in v0.0.25

func (m *TodoRequest) GetTodo() *Todo

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 TodoSvcClient added in v0.0.25

type TodoSvcClient 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)
	GetRemindTodos(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)
}

TodoSvcClient is the client API for TodoSvc service.

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

func NewTodoSvcClient added in v0.0.25

func NewTodoSvcClient(cc *grpc.ClientConn) TodoSvcClient

type TodoSvcServer added in v0.0.25

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

TodoSvcServer is the server API for TodoSvc service.

type TodosReply added in v0.0.24

type TodosReply struct {
	Todos                []*Todo  `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() []*Todo

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 Trigger added in v0.0.25

type Trigger struct {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: db:"type"
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" db:"type"`
	// @inject_tag: db:"kind"
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty" db:"kind"`
	// @inject_tag: db:"flag"
	Flag string `protobuf:"bytes,4,opt,name=flag,proto3" json:"flag,omitempty" db:"flag"`
	// @inject_tag: db:"secret"
	Secret string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty" db:"secret"`
	// @inject_tag: db:"when"
	When string `protobuf:"bytes,6,opt,name=when,proto3" json:"when,omitempty" db:"when"`
	// @inject_tag: db:"message_id"
	MessageId int64 `protobuf:"varint,7,opt,name=messageId,proto3" json:"messageId,omitempty" db:"message_id"`
	// @inject_tag: db:"created_at"
	CreatedAt            string   `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	MessageText          string   `protobuf:"bytes,9,opt,name=messageText,proto3" json:"messageText,omitempty"`
	Header               string   `protobuf:"bytes,10,opt,name=header,proto3" json:"header,omitempty"`
	Body                 string   `protobuf:"bytes,11,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Trigger) Descriptor added in v0.0.25

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

func (*Trigger) GetBody added in v0.0.25

func (m *Trigger) GetBody() string

func (*Trigger) GetCreatedAt added in v0.0.25

func (m *Trigger) GetCreatedAt() string

func (*Trigger) GetFlag added in v0.0.25

func (m *Trigger) GetFlag() string

func (*Trigger) GetHeader added in v0.0.25

func (m *Trigger) GetHeader() string

func (*Trigger) GetId added in v0.0.25

func (m *Trigger) GetId() int64

func (*Trigger) GetKind added in v0.0.25

func (m *Trigger) GetKind() string

func (*Trigger) GetMessageId added in v0.0.25

func (m *Trigger) GetMessageId() int64

func (*Trigger) GetMessageText added in v0.0.25

func (m *Trigger) GetMessageText() string

func (*Trigger) GetSecret added in v0.0.25

func (m *Trigger) GetSecret() string

func (*Trigger) GetType added in v0.0.25

func (m *Trigger) GetType() string

func (*Trigger) GetWhen added in v0.0.25

func (m *Trigger) GetWhen() string

func (*Trigger) ProtoMessage added in v0.0.25

func (*Trigger) ProtoMessage()

func (*Trigger) Reset added in v0.0.25

func (m *Trigger) Reset()

func (*Trigger) String added in v0.0.25

func (m *Trigger) String() string

func (*Trigger) XXX_DiscardUnknown added in v0.0.25

func (m *Trigger) XXX_DiscardUnknown()

func (*Trigger) XXX_Marshal added in v0.0.25

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

func (*Trigger) XXX_Merge added in v0.0.25

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

func (*Trigger) XXX_Size added in v0.0.25

func (m *Trigger) XXX_Size() int

func (*Trigger) XXX_Unmarshal added in v0.0.25

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

type TriggerRequest added in v0.0.18

type TriggerRequest struct {
	Trigger              *Trigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,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) GetTrigger added in v0.0.25

func (m *TriggerRequest) GetTrigger() *Trigger

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 UnimplementedChatbotSvcServer added in v0.0.25

type UnimplementedChatbotSvcServer struct {
}

UnimplementedChatbotSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedChatbotSvcServer) Handle added in v0.0.25

type UnimplementedFinanceSvcServer added in v0.0.25

type UnimplementedFinanceSvcServer struct {
}

UnimplementedFinanceSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedFinanceSvcServer) CreateBill added in v0.0.25

func (*UnimplementedFinanceSvcServer) DeleteBill added in v0.0.25

func (*UnimplementedFinanceSvcServer) GetBill added in v0.0.25

func (*UnimplementedFinanceSvcServer) GetBills added in v0.0.25

type UnimplementedMessageSvcServer added in v0.0.25

type UnimplementedMessageSvcServer struct {
}

UnimplementedMessageSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedMessageSvcServer) Create added in v0.0.25

func (*UnimplementedMessageSvcServer) CreateActionMessage added in v0.0.25

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

func (*UnimplementedMessageSvcServer) Delete added in v0.0.25

func (*UnimplementedMessageSvcServer) DeleteWorkflowMessage added in v0.0.25

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

func (*UnimplementedMessageSvcServer) Get added in v0.0.25

func (*UnimplementedMessageSvcServer) GetActionMessages added in v0.0.25

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

func (*UnimplementedMessageSvcServer) List added in v0.0.25

func (*UnimplementedMessageSvcServer) Run added in v0.0.25

func (*UnimplementedMessageSvcServer) Send added in v0.0.25

type UnimplementedMiddleSvcServer added in v0.0.25

type UnimplementedMiddleSvcServer struct {
}

UnimplementedMiddleSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedMiddleSvcServer) CreateCredential added in v0.0.25

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

func (*UnimplementedMiddleSvcServer) CreatePage added in v0.0.25

func (*UnimplementedMiddleSvcServer) CreateSetting added in v0.0.25

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

func (*UnimplementedMiddleSvcServer) GetApps added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetAvailableApp added in v0.0.25

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

func (*UnimplementedMiddleSvcServer) GetCredential added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetCredentials added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetMaskingCredentials added in v0.0.25

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

func (*UnimplementedMiddleSvcServer) GetMenu added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetPage added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetQrUrl added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetRoleImageUrl added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetRoleImageUrl(ctx context.Context, req *TextRequest) (*TextReply, error)

func (*UnimplementedMiddleSvcServer) GetSetting added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetSettings added in v0.0.25

func (*UnimplementedMiddleSvcServer) GetStats added in v0.0.25

func (*UnimplementedMiddleSvcServer) StoreAppOAuth added in v0.0.25

type UnimplementedNLPSvcServer added in v0.0.25

type UnimplementedNLPSvcServer struct {
}

UnimplementedNLPSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedNLPSvcServer) Classifier added in v0.0.25

func (*UnimplementedNLPSvcServer) Pinyin added in v0.0.25

func (*UnimplementedNLPSvcServer) Segmentation added in v0.0.25

type UnimplementedStorageSvcServer added in v0.0.25

type UnimplementedStorageSvcServer struct {
}

UnimplementedStorageSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedStorageSvcServer) UploadFile added in v0.0.25

type UnimplementedSubscribeSvcServer added in v0.0.25

type UnimplementedSubscribeSvcServer struct {
}

UnimplementedSubscribeSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedSubscribeSvcServer) Close added in v0.0.25

func (*UnimplementedSubscribeSvcServer) List added in v0.0.25

func (*UnimplementedSubscribeSvcServer) Open added in v0.0.25

func (*UnimplementedSubscribeSvcServer) Register added in v0.0.25

func (*UnimplementedSubscribeSvcServer) Status added in v0.0.25

type UnimplementedTaskSvcServer added in v0.0.25

type UnimplementedTaskSvcServer struct {
}

UnimplementedTaskSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedTaskSvcServer) Delay added in v0.0.25

type UnimplementedTodoSvcServer added in v0.0.25

type UnimplementedTodoSvcServer struct {
}

UnimplementedTodoSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedTodoSvcServer) CompleteTodo added in v0.0.25

func (*UnimplementedTodoSvcServer) CreateTodo added in v0.0.25

func (*UnimplementedTodoSvcServer) DeleteTodo added in v0.0.25

func (*UnimplementedTodoSvcServer) GetRemindTodos added in v0.0.25

func (*UnimplementedTodoSvcServer) GetRemindTodos(ctx context.Context, req *TodoRequest) (*TodosReply, error)

func (*UnimplementedTodoSvcServer) GetTodo added in v0.0.25

func (*UnimplementedTodoSvcServer) GetTodos added in v0.0.25

func (*UnimplementedTodoSvcServer) UpdateTodo added in v0.0.25

type UnimplementedUserSvcServer added in v0.0.25

type UnimplementedUserSvcServer struct {
}

UnimplementedUserSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedUserSvcServer) Authorization added in v0.0.25

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

func (*UnimplementedUserSvcServer) CreateUser added in v0.0.25

func (*UnimplementedUserSvcServer) GetAuthToken added in v0.0.25

func (*UnimplementedUserSvcServer) GetRole added in v0.0.25

func (*UnimplementedUserSvcServer) GetRoleImage added in v0.0.25

func (*UnimplementedUserSvcServer) GetUser added in v0.0.25

func (*UnimplementedUserSvcServer) GetUserByName added in v0.0.25

func (*UnimplementedUserSvcServer) GetUserByName(ctx context.Context, req *UserRequest) (*UserReply, error)

func (*UnimplementedUserSvcServer) GetUsers added in v0.0.25

func (*UnimplementedUserSvcServer) UpdateUser added in v0.0.25

type UnimplementedWorkflowSvcServer added in v0.0.25

type UnimplementedWorkflowSvcServer struct {
}

UnimplementedWorkflowSvcServer can be embedded to have forward compatible implementations.

func (*UnimplementedWorkflowSvcServer) ActionDoc added in v0.0.25

func (*UnimplementedWorkflowSvcServer) CreateTrigger added in v0.0.25

func (*UnimplementedWorkflowSvcServer) CronTrigger added in v0.0.25

func (*UnimplementedWorkflowSvcServer) DeleteTrigger added in v0.0.25

func (*UnimplementedWorkflowSvcServer) RunAction added in v0.0.25

func (*UnimplementedWorkflowSvcServer) SyntaxCheck added in v0.0.25

func (*UnimplementedWorkflowSvcServer) WebhookTrigger added in v0.0.25

type User added in v0.0.25

type User struct {
	// @inject_tag: db:"id"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"mobile"
	Mobile string `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty" db:"mobile"`
	// @inject_tag: db:"remark"
	Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty" db:"remark"`
	// @inject_tag: db:"created_at"
	CreatedAt string `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt            string   `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" db:"updated_at"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*User) Descriptor added in v0.0.25

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

func (*User) GetCreatedAt added in v0.0.25

func (m *User) GetCreatedAt() string

func (*User) GetId added in v0.0.25

func (m *User) GetId() int64

func (*User) GetMobile added in v0.0.25

func (m *User) GetMobile() string

func (*User) GetName added in v0.0.25

func (m *User) GetName() string

func (*User) GetRemark added in v0.0.25

func (m *User) GetRemark() string

func (*User) GetUpdatedAt added in v0.0.25

func (m *User) GetUpdatedAt() string

func (*User) ProtoMessage added in v0.0.25

func (*User) ProtoMessage()

func (*User) Reset added in v0.0.25

func (m *User) Reset()

func (*User) String added in v0.0.25

func (m *User) String() string

func (*User) XXX_DiscardUnknown added in v0.0.25

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal added in v0.0.25

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

func (*User) XXX_Merge added in v0.0.25

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

func (*User) XXX_Size added in v0.0.25

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal added in v0.0.25

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

type UserReply added in v0.0.25

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

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

func (*UserReply) GetUser added in v0.0.25

func (m *UserReply) GetUser() *User

func (*UserReply) ProtoMessage added in v0.0.25

func (*UserReply) ProtoMessage()

func (*UserReply) Reset added in v0.0.25

func (m *UserReply) Reset()

func (*UserReply) String added in v0.0.25

func (m *UserReply) String() string

func (*UserReply) XXX_DiscardUnknown added in v0.0.25

func (m *UserReply) XXX_DiscardUnknown()

func (*UserReply) XXX_Marshal added in v0.0.25

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

func (*UserReply) XXX_Merge added in v0.0.25

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

func (*UserReply) XXX_Size added in v0.0.25

func (m *UserReply) XXX_Size() int

func (*UserReply) XXX_Unmarshal added in v0.0.25

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

type UserRequest added in v0.0.25

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

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

func (*UserRequest) GetUser added in v0.0.25

func (m *UserRequest) GetUser() *User

func (*UserRequest) ProtoMessage added in v0.0.25

func (*UserRequest) ProtoMessage()

func (*UserRequest) Reset added in v0.0.25

func (m *UserRequest) Reset()

func (*UserRequest) String added in v0.0.25

func (m *UserRequest) String() string

func (*UserRequest) XXX_DiscardUnknown added in v0.0.25

func (m *UserRequest) XXX_DiscardUnknown()

func (*UserRequest) XXX_Marshal added in v0.0.25

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

func (*UserRequest) XXX_Merge added in v0.0.25

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

func (*UserRequest) XXX_Size added in v0.0.25

func (m *UserRequest) XXX_Size() int

func (*UserRequest) XXX_Unmarshal added in v0.0.25

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

type UserSvcClient added in v0.0.25

type UserSvcClient interface {
	Authorization(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetRole(ctx context.Context, in *RoleRequest, opts ...grpc.CallOption) (*RoleReply, error)
	GetRoleImage(ctx context.Context, in *RoleRequest, opts ...grpc.CallOption) (*BytesReply, error)
	GetAuthToken(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*TextReply, error)
	CreateUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserReply, error)
	GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserReply, error)
	GetUserByName(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserReply, error)
	GetUsers(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UsersReply, error)
	UpdateUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*StateReply, error)
}

UserSvcClient is the client API for UserSvc service.

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

func NewUserSvcClient added in v0.0.25

func NewUserSvcClient(cc *grpc.ClientConn) UserSvcClient

type UserSvcServer added in v0.0.25

type UserSvcServer interface {
	Authorization(context.Context, *TextRequest) (*StateReply, error)
	GetRole(context.Context, *RoleRequest) (*RoleReply, error)
	GetRoleImage(context.Context, *RoleRequest) (*BytesReply, error)
	GetAuthToken(context.Context, *TextRequest) (*TextReply, error)
	CreateUser(context.Context, *UserRequest) (*UserReply, error)
	GetUser(context.Context, *UserRequest) (*UserReply, error)
	GetUserByName(context.Context, *UserRequest) (*UserReply, error)
	GetUsers(context.Context, *UserRequest) (*UsersReply, error)
	UpdateUser(context.Context, *UserRequest) (*StateReply, error)
}

UserSvcServer is the server API for UserSvc service.

type UsersReply added in v0.0.25

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

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

func (*UsersReply) GetUsers added in v0.0.25

func (m *UsersReply) GetUsers() []*User

func (*UsersReply) ProtoMessage added in v0.0.25

func (*UsersReply) ProtoMessage()

func (*UsersReply) Reset added in v0.0.25

func (m *UsersReply) Reset()

func (*UsersReply) String added in v0.0.25

func (m *UsersReply) String() string

func (*UsersReply) XXX_DiscardUnknown added in v0.0.25

func (m *UsersReply) XXX_DiscardUnknown()

func (*UsersReply) XXX_Marshal added in v0.0.25

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

func (*UsersReply) XXX_Merge added in v0.0.25

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

func (*UsersReply) XXX_Size added in v0.0.25

func (m *UsersReply) XXX_Size() int

func (*UsersReply) XXX_Unmarshal added in v0.0.25

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

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 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 WorkflowSvcClient added in v0.0.25

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

WorkflowSvcClient is the client API for WorkflowSvc service.

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

func NewWorkflowSvcClient added in v0.0.25

func NewWorkflowSvcClient(cc *grpc.ClientConn) WorkflowSvcClient

type WorkflowSvcServer added in v0.0.25

WorkflowSvcServer is the server API for WorkflowSvc service.

Jump to

Keyboard shortcuts

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