pb

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChatbotSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.ChatbotSvc",
	HandlerType: (*ChatbotSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Handle",
			Handler:    _ChatbotSvc_Handle_Handler,
		},
		{
			MethodName: "Register",
			Handler:    _ChatbotSvc_Register_Handler,
		},
		{
			MethodName: "GetBot",
			Handler:    _ChatbotSvc_GetBot_Handler,
		},
		{
			MethodName: "GetBots",
			Handler:    _ChatbotSvc_GetBots_Handler,
		},
		{
			MethodName: "CreateGroupBot",
			Handler:    _ChatbotSvc_CreateGroupBot_Handler,
		},
		{
			MethodName: "DeleteGroupBot",
			Handler:    _ChatbotSvc_DeleteGroupBot_Handler,
		},
		{
			MethodName: "UpdateGroupBotSetting",
			Handler:    _ChatbotSvc_UpdateGroupBotSetting_Handler,
		},
		{
			MethodName: "UpdateGroupSetting",
			Handler:    _ChatbotSvc_UpdateGroupSetting_Handler,
		},
		{
			MethodName: "GetGroupBotSetting",
			Handler:    _ChatbotSvc_GetGroupBotSetting_Handler,
		},
		{
			MethodName: "GetGroupSetting",
			Handler:    _ChatbotSvc_GetGroupSetting_Handler,
		},
		{
			MethodName: "GetGroups",
			Handler:    _ChatbotSvc_GetGroups_Handler,
		},
		{
			MethodName: "CreateGroup",
			Handler:    _ChatbotSvc_CreateGroup_Handler,
		},
		{
			MethodName: "GetGroup",
			Handler:    _ChatbotSvc_GetGroup_Handler,
		},
		{
			MethodName: "DeleteGroup",
			Handler:    _ChatbotSvc_DeleteGroup_Handler,
		},
		{
			MethodName: "UpdateGroup",
			Handler:    _ChatbotSvc_UpdateGroup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chatbot.proto",
}

ChatbotSvc_ServiceDesc is the grpc.ServiceDesc for ChatbotSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var FinanceSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.FinanceSvc",
	HandlerType: (*FinanceSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateBill",
			Handler:    _FinanceSvc_CreateBill_Handler,
		},
		{
			MethodName: "GetBill",
			Handler:    _FinanceSvc_GetBill_Handler,
		},
		{
			MethodName: "GetBills",
			Handler:    _FinanceSvc_GetBills_Handler,
		},
		{
			MethodName: "DeleteBill",
			Handler:    _FinanceSvc_DeleteBill_Handler,
		},
		{
			MethodName: "GetFund",
			Handler:    _FinanceSvc_GetFund_Handler,
		},
		{
			MethodName: "GetStock",
			Handler:    _FinanceSvc_GetStock_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "finance.proto",
}

FinanceSvc_ServiceDesc is the grpc.ServiceDesc for FinanceSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var IdSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.IdSvc",
	HandlerType: (*IdSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetGlobalId",
			Handler:    _IdSvc_GetGlobalId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "id.proto",
}

IdSvc_ServiceDesc is the grpc.ServiceDesc for IdSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MessageSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.MessageSvc",
	HandlerType: (*MessageSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _MessageSvc_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _MessageSvc_Get_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _MessageSvc_Create_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _MessageSvc_Delete_Handler,
		},
		{
			MethodName: "Send",
			Handler:    _MessageSvc_Send_Handler,
		},
		{
			MethodName: "Run",
			Handler:    _MessageSvc_Run_Handler,
		},
		{
			MethodName: "GetActionMessages",
			Handler:    _MessageSvc_GetActionMessages_Handler,
		},
		{
			MethodName: "CreateActionMessage",
			Handler:    _MessageSvc_CreateActionMessage_Handler,
		},
		{
			MethodName: "DeleteWorkflowMessage",
			Handler:    _MessageSvc_DeleteWorkflowMessage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "message.proto",
}

MessageSvc_ServiceDesc is the grpc.ServiceDesc for MessageSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MiddleSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.MiddleSvc",
	HandlerType: (*MiddleSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreatePage",
			Handler:    _MiddleSvc_CreatePage_Handler,
		},
		{
			MethodName: "GetPage",
			Handler:    _MiddleSvc_GetPage_Handler,
		},
		{
			MethodName: "GetQrUrl",
			Handler:    _MiddleSvc_GetQrUrl_Handler,
		},
		{
			MethodName: "GetApps",
			Handler:    _MiddleSvc_GetApps_Handler,
		},
		{
			MethodName: "GetAvailableApp",
			Handler:    _MiddleSvc_GetAvailableApp_Handler,
		},
		{
			MethodName: "StoreAppOAuth",
			Handler:    _MiddleSvc_StoreAppOAuth_Handler,
		},
		{
			MethodName: "GetCredentials",
			Handler:    _MiddleSvc_GetCredentials_Handler,
		},
		{
			MethodName: "GetMaskingCredentials",
			Handler:    _MiddleSvc_GetMaskingCredentials_Handler,
		},
		{
			MethodName: "GetCredential",
			Handler:    _MiddleSvc_GetCredential_Handler,
		},
		{
			MethodName: "CreateCredential",
			Handler:    _MiddleSvc_CreateCredential_Handler,
		},
		{
			MethodName: "GetSettings",
			Handler:    _MiddleSvc_GetSettings_Handler,
		},
		{
			MethodName: "GetSetting",
			Handler:    _MiddleSvc_GetSetting_Handler,
		},
		{
			MethodName: "CreateSetting",
			Handler:    _MiddleSvc_CreateSetting_Handler,
		},
		{
			MethodName: "GetStats",
			Handler:    _MiddleSvc_GetStats_Handler,
		},
		{
			MethodName: "ListSubscribe",
			Handler:    _MiddleSvc_ListSubscribe_Handler,
		},
		{
			MethodName: "RegisterSubscribe",
			Handler:    _MiddleSvc_RegisterSubscribe_Handler,
		},
		{
			MethodName: "OpenSubscribe",
			Handler:    _MiddleSvc_OpenSubscribe_Handler,
		},
		{
			MethodName: "CloseSubscribe",
			Handler:    _MiddleSvc_CloseSubscribe_Handler,
		},
		{
			MethodName: "GetSubscribeStatus",
			Handler:    _MiddleSvc_GetSubscribeStatus_Handler,
		},
		{
			MethodName: "ListCron",
			Handler:    _MiddleSvc_ListCron_Handler,
		},
		{
			MethodName: "RegisterCron",
			Handler:    _MiddleSvc_RegisterCron_Handler,
		},
		{
			MethodName: "StartCron",
			Handler:    _MiddleSvc_StartCron_Handler,
		},
		{
			MethodName: "StopCron",
			Handler:    _MiddleSvc_StopCron_Handler,
		},
		{
			MethodName: "GetCronStatus",
			Handler:    _MiddleSvc_GetCronStatus_Handler,
		},
		{
			MethodName: "GetOrCreateTag",
			Handler:    _MiddleSvc_GetOrCreateTag_Handler,
		},
		{
			MethodName: "GetTags",
			Handler:    _MiddleSvc_GetTags_Handler,
		},
		{
			MethodName: "GetChartData",
			Handler:    _MiddleSvc_GetChartData_Handler,
		},
		{
			MethodName: "SetChartData",
			Handler:    _MiddleSvc_SetChartData_Handler,
		},
		{
			MethodName: "GetChartUrl",
			Handler:    _MiddleSvc_GetChartUrl_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "middle.proto",
}

MiddleSvc_ServiceDesc is the grpc.ServiceDesc for MiddleSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var NLPSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.NLPSvc",
	HandlerType: (*NLPSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Pinyin",
			Handler:    _NLPSvc_Pinyin_Handler,
		},
		{
			MethodName: "Segmentation",
			Handler:    _NLPSvc_Segmentation_Handler,
		},
		{
			MethodName: "Classifier",
			Handler:    _NLPSvc_Classifier_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "nlp.proto",
}

NLPSvc_ServiceDesc is the grpc.ServiceDesc for NLPSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Notification_Priority_name = map[int32]string{
	0: "PRIORITY_UNSPECIFIED",
	1: "PRIORITY_NORMAL",
	2: "PRIORITY_HIGH",
}
View Source
var Notification_Priority_value = map[string]int32{
	"PRIORITY_UNSPECIFIED": 0,
	"PRIORITY_NORMAL":      1,
	"PRIORITY_HIGH":        2,
}
View Source
var OrgSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.OrgSvc",
	HandlerType: (*OrgSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateObjective",
			Handler:    _OrgSvc_CreateObjective_Handler,
		},
		{
			MethodName: "GetObjective",
			Handler:    _OrgSvc_GetObjective_Handler,
		},
		{
			MethodName: "GetObjectives",
			Handler:    _OrgSvc_GetObjectives_Handler,
		},
		{
			MethodName: "DeleteObjective",
			Handler:    _OrgSvc_DeleteObjective_Handler,
		},
		{
			MethodName: "CreateKeyResult",
			Handler:    _OrgSvc_CreateKeyResult_Handler,
		},
		{
			MethodName: "GetKeyResult",
			Handler:    _OrgSvc_GetKeyResult_Handler,
		},
		{
			MethodName: "GetKeyResults",
			Handler:    _OrgSvc_GetKeyResults_Handler,
		},
		{
			MethodName: "DeleteKeyResult",
			Handler:    _OrgSvc_DeleteKeyResult_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "org.proto",
}

OrgSvc_ServiceDesc is the grpc.ServiceDesc for OrgSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StorageSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.StorageSvc",
	HandlerType: (*StorageSvcServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "UploadFile",
			Handler:       _StorageSvc_UploadFile_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "storage.proto",
}

StorageSvc_ServiceDesc is the grpc.ServiceDesc for StorageSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TaskSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.TaskSvc",
	HandlerType: (*TaskSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Delay",
			Handler:    _TaskSvc_Delay_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "task.proto",
}

TaskSvc_ServiceDesc is the grpc.ServiceDesc for TaskSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TodoSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.TodoSvc",
	HandlerType: (*TodoSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTodo",
			Handler:    _TodoSvc_CreateTodo_Handler,
		},
		{
			MethodName: "GetTodo",
			Handler:    _TodoSvc_GetTodo_Handler,
		},
		{
			MethodName: "GetTodos",
			Handler:    _TodoSvc_GetTodos_Handler,
		},
		{
			MethodName: "GetRemindTodos",
			Handler:    _TodoSvc_GetRemindTodos_Handler,
		},
		{
			MethodName: "DeleteTodo",
			Handler:    _TodoSvc_DeleteTodo_Handler,
		},
		{
			MethodName: "UpdateTodo",
			Handler:    _TodoSvc_UpdateTodo_Handler,
		},
		{
			MethodName: "CompleteTodo",
			Handler:    _TodoSvc_CompleteTodo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "todo.proto",
}

TodoSvc_ServiceDesc is the grpc.ServiceDesc for TodoSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.UserSvc",
	HandlerType: (*UserSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _UserSvc_Login_Handler,
		},
		{
			MethodName: "GetAuthToken",
			Handler:    _UserSvc_GetAuthToken_Handler,
		},
		{
			MethodName: "Authorization",
			Handler:    _UserSvc_Authorization_Handler,
		},
		{
			MethodName: "GetRole",
			Handler:    _UserSvc_GetRole_Handler,
		},
		{
			MethodName: "GetRoleImage",
			Handler:    _UserSvc_GetRoleImage_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _UserSvc_CreateUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _UserSvc_GetUser_Handler,
		},
		{
			MethodName: "GetUserByName",
			Handler:    _UserSvc_GetUserByName_Handler,
		},
		{
			MethodName: "GetUsers",
			Handler:    _UserSvc_GetUsers_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _UserSvc_UpdateUser_Handler,
		},
		{
			MethodName: "BindDevice",
			Handler:    _UserSvc_BindDevice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user.proto",
}

UserSvc_ServiceDesc is the grpc.ServiceDesc for UserSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var WorkflowSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.WorkflowSvc",
	HandlerType: (*WorkflowSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SyntaxCheck",
			Handler:    _WorkflowSvc_SyntaxCheck_Handler,
		},
		{
			MethodName: "RunAction",
			Handler:    _WorkflowSvc_RunAction_Handler,
		},
		{
			MethodName: "WebhookTrigger",
			Handler:    _WorkflowSvc_WebhookTrigger_Handler,
		},
		{
			MethodName: "CronTrigger",
			Handler:    _WorkflowSvc_CronTrigger_Handler,
		},
		{
			MethodName: "CreateTrigger",
			Handler:    _WorkflowSvc_CreateTrigger_Handler,
		},
		{
			MethodName: "DeleteTrigger",
			Handler:    _WorkflowSvc_DeleteTrigger_Handler,
		},
		{
			MethodName: "ActionDoc",
			Handler:    _WorkflowSvc_ActionDoc_Handler,
		},
		{
			MethodName: "ListWebhook",
			Handler:    _WorkflowSvc_ListWebhook_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "workflow.proto",
}

WorkflowSvc_ServiceDesc is the grpc.ServiceDesc for WorkflowSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterChatbotSvcServer added in v0.0.25

func RegisterChatbotSvcServer(s grpc.ServiceRegistrar, srv ChatbotSvcServer)

func RegisterFinanceSvcServer added in v0.0.25

func RegisterFinanceSvcServer(s grpc.ServiceRegistrar, srv FinanceSvcServer)

func RegisterIdSvcServer added in v0.2.1

func RegisterIdSvcServer(s grpc.ServiceRegistrar, srv IdSvcServer)

func RegisterMessageSvcServer added in v0.0.25

func RegisterMessageSvcServer(s grpc.ServiceRegistrar, srv MessageSvcServer)

func RegisterMiddleSvcServer added in v0.0.25

func RegisterMiddleSvcServer(s grpc.ServiceRegistrar, srv MiddleSvcServer)

func RegisterNLPSvcServer added in v0.0.25

func RegisterNLPSvcServer(s grpc.ServiceRegistrar, srv NLPSvcServer)

func RegisterOrgSvcServer added in v0.1.1

func RegisterOrgSvcServer(s grpc.ServiceRegistrar, srv OrgSvcServer)

func RegisterStorageSvcServer added in v0.0.25

func RegisterStorageSvcServer(s grpc.ServiceRegistrar, srv StorageSvcServer)

func RegisterTaskSvcServer added in v0.0.25

func RegisterTaskSvcServer(s grpc.ServiceRegistrar, srv TaskSvcServer)

func RegisterTodoSvcServer added in v0.0.25

func RegisterTodoSvcServer(s grpc.ServiceRegistrar, srv TodoSvcServer)

func RegisterUserSvcServer added in v0.0.25

func RegisterUserSvcServer(s grpc.ServiceRegistrar, srv UserSvcServer)

func RegisterWorkflowSvcServer added in v0.0.25

func RegisterWorkflowSvcServer(s grpc.ServiceRegistrar, 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=created_at,json=createdAt,proto3" json:"created_at,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"`
}

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"`
}

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 Alert added in v0.2.1

type Alert struct {
	Title        string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Body         string   `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Subtitle     string   `protobuf:"bytes,3,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
	Action       string   `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	ActionLocKey string   `protobuf:"bytes,5,opt,name=action_loc_key,json=actionLocKey,proto3" json:"action_loc_key,omitempty"`
	LaunchImage  string   `protobuf:"bytes,6,opt,name=launch_image,json=launchImage,proto3" json:"launch_image,omitempty"`
	LocKey       string   `protobuf:"bytes,7,opt,name=loc_key,json=locKey,proto3" json:"loc_key,omitempty"`
	TitleLocKey  string   `protobuf:"bytes,8,opt,name=title_loc_key,json=titleLocKey,proto3" json:"title_loc_key,omitempty"`
	LocArgs      []string `protobuf:"bytes,9,rep,name=loc_args,json=locArgs,proto3" json:"loc_args,omitempty"`
	TitleLocArgs []string `protobuf:"bytes,10,rep,name=title_loc_args,json=titleLocArgs,proto3" json:"title_loc_args,omitempty"`
}

func (*Alert) Descriptor added in v0.2.1

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

func (*Alert) GetAction added in v0.2.1

func (m *Alert) GetAction() string

func (*Alert) GetActionLocKey added in v0.2.1

func (m *Alert) GetActionLocKey() string

func (*Alert) GetBody added in v0.2.1

func (m *Alert) GetBody() string

func (*Alert) GetLaunchImage added in v0.2.1

func (m *Alert) GetLaunchImage() string

func (*Alert) GetLocArgs added in v0.2.1

func (m *Alert) GetLocArgs() []string

func (*Alert) GetLocKey added in v0.2.1

func (m *Alert) GetLocKey() string

func (*Alert) GetSubtitle added in v0.2.1

func (m *Alert) GetSubtitle() string

func (*Alert) GetTitle added in v0.2.1

func (m *Alert) GetTitle() string

func (*Alert) GetTitleLocArgs added in v0.2.1

func (m *Alert) GetTitleLocArgs() []string

func (*Alert) GetTitleLocKey added in v0.2.1

func (m *Alert) GetTitleLocKey() string

func (*Alert) ProtoMessage added in v0.2.1

func (*Alert) ProtoMessage()

func (*Alert) Reset added in v0.2.1

func (m *Alert) Reset()

func (*Alert) String added in v0.2.1

func (m *Alert) String() string

func (*Alert) XXX_DiscardUnknown added in v0.2.1

func (m *Alert) XXX_DiscardUnknown()

func (*Alert) XXX_Marshal added in v0.2.1

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

func (*Alert) XXX_Merge added in v0.2.1

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

func (*Alert) XXX_Size added in v0.2.1

func (m *Alert) XXX_Size() int

func (*Alert) XXX_Unmarshal added in v0.2.1

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

type App added in v0.0.9

type App struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" db:"user_id"`
	// @inject_tag: db:"type"
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" db:"type"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"token"
	Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty" db:"token"`
	// @inject_tag: db:"extra"
	Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty" db:"extra"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

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() int64

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) GetName added in v0.0.17

func (m *App) GetName() 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() int64

func (*App) GetUserId added in v0.2.1

func (m *App) GetUserId() int64

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 AppInfo added in v0.2.1

type AppInfo struct {
	Title        string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
	IsAuthorized bool   `protobuf:"varint,9,opt,name=is_authorized,json=isAuthorized,proto3" json:"is_authorized,omitempty"`
}

func (*AppInfo) Descriptor added in v0.2.1

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

func (*AppInfo) GetIsAuthorized added in v0.2.1

func (m *AppInfo) GetIsAuthorized() bool

func (*AppInfo) GetTitle added in v0.2.1

func (m *AppInfo) GetTitle() string

func (*AppInfo) ProtoMessage added in v0.2.1

func (*AppInfo) ProtoMessage()

func (*AppInfo) Reset added in v0.2.1

func (m *AppInfo) Reset()

func (*AppInfo) String added in v0.2.1

func (m *AppInfo) String() string

func (*AppInfo) XXX_DiscardUnknown added in v0.2.1

func (m *AppInfo) XXX_DiscardUnknown()

func (*AppInfo) XXX_Marshal added in v0.2.1

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

func (*AppInfo) XXX_Merge added in v0.2.1

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

func (*AppInfo) XXX_Size added in v0.2.1

func (m *AppInfo) XXX_Size() int

func (*AppInfo) XXX_Unmarshal added in v0.2.1

func (m *AppInfo) 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"`
}

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"`
}

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"`
}

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=account_id,json=accountId,proto3" json:"account_id,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=created_at,json=createdAt,proto3" json:"created_at,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=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

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 AuthReply added in v0.2.1

type AuthReply struct {
	State bool   `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
	Id    int64  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
}

func (*AuthReply) Descriptor added in v0.2.1

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

func (*AuthReply) GetId added in v0.2.1

func (m *AuthReply) GetId() int64

func (*AuthReply) GetState added in v0.2.1

func (m *AuthReply) GetState() bool

func (*AuthReply) GetToken added in v0.2.1

func (m *AuthReply) GetToken() string

func (*AuthReply) ProtoMessage added in v0.2.1

func (*AuthReply) ProtoMessage()

func (*AuthReply) Reset added in v0.2.1

func (m *AuthReply) Reset()

func (*AuthReply) String added in v0.2.1

func (m *AuthReply) String() string

func (*AuthReply) XXX_DiscardUnknown added in v0.2.1

func (m *AuthReply) XXX_DiscardUnknown()

func (*AuthReply) XXX_Marshal added in v0.2.1

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

func (*AuthReply) XXX_Merge added in v0.2.1

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

func (*AuthReply) XXX_Size added in v0.2.1

func (m *AuthReply) XXX_Size() int

func (*AuthReply) XXX_Unmarshal added in v0.2.1

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

type AuthRequest added in v0.2.1

type AuthRequest struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
}

func (*AuthRequest) Descriptor added in v0.2.1

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

func (*AuthRequest) GetId added in v0.2.1

func (m *AuthRequest) GetId() int64

func (*AuthRequest) GetToken added in v0.2.1

func (m *AuthRequest) GetToken() string

func (*AuthRequest) ProtoMessage added in v0.2.1

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) Reset added in v0.2.1

func (m *AuthRequest) Reset()

func (*AuthRequest) String added in v0.2.1

func (m *AuthRequest) String() string

func (*AuthRequest) XXX_DiscardUnknown added in v0.2.1

func (m *AuthRequest) XXX_DiscardUnknown()

func (*AuthRequest) XXX_Marshal added in v0.2.1

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

func (*AuthRequest) XXX_Merge added in v0.2.1

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

func (*AuthRequest) XXX_Size added in v0.2.1

func (m *AuthRequest) XXX_Size() int

func (*AuthRequest) XXX_Unmarshal added in v0.2.1

func (m *AuthRequest) 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=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            string   `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,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=bill_id,json=billId,proto3" json:"bill_id,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 Bot added in v0.2.1

type Bot struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// @inject_tag: db:"uuid"
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// @inject_tag: db:"identifier"
	Identifier string `protobuf:"bytes,5,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// @inject_tag: db:"detail"
	Detail string `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail,omitempty"`
	// @inject_tag: db:"avatar"
	Avatar string `protobuf:"bytes,7,opt,name=avatar,proto3" json:"avatar,omitempty"`
	// @inject_tag: db:"extend"
	Extend string `protobuf:"bytes,8,opt,name=extend,proto3" json:"extend,omitempty"`
	// @inject_tag: db:"status"
	Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

func (*Bot) Descriptor added in v0.2.1

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

func (*Bot) GetAvatar added in v0.2.1

func (m *Bot) GetAvatar() string

func (*Bot) GetCreatedAt added in v0.2.1

func (m *Bot) GetCreatedAt() int64

func (*Bot) GetDetail added in v0.2.1

func (m *Bot) GetDetail() string

func (*Bot) GetExtend added in v0.2.1

func (m *Bot) GetExtend() string

func (*Bot) GetId added in v0.2.1

func (m *Bot) GetId() int64

func (*Bot) GetIdentifier added in v0.2.1

func (m *Bot) GetIdentifier() string

func (*Bot) GetName added in v0.2.1

func (m *Bot) GetName() string

func (*Bot) GetStatus added in v0.2.1

func (m *Bot) GetStatus() int32

func (*Bot) GetUpdatedAt added in v0.2.1

func (m *Bot) GetUpdatedAt() int64

func (*Bot) GetUuid added in v0.2.1

func (m *Bot) GetUuid() string

func (*Bot) ProtoMessage added in v0.2.1

func (*Bot) ProtoMessage()

func (*Bot) Reset added in v0.2.1

func (m *Bot) Reset()

func (*Bot) String added in v0.2.1

func (m *Bot) String() string

func (*Bot) XXX_DiscardUnknown added in v0.2.1

func (m *Bot) XXX_DiscardUnknown()

func (*Bot) XXX_Marshal added in v0.2.1

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

func (*Bot) XXX_Merge added in v0.2.1

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

func (*Bot) XXX_Size added in v0.2.1

func (m *Bot) XXX_Size() int

func (*Bot) XXX_Unmarshal added in v0.2.1

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

type BotReply added in v0.2.1

type BotReply struct {
	Bot *Bot `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"`
}

func (*BotReply) Descriptor added in v0.2.1

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

func (*BotReply) GetBot added in v0.2.1

func (m *BotReply) GetBot() *Bot

func (*BotReply) ProtoMessage added in v0.2.1

func (*BotReply) ProtoMessage()

func (*BotReply) Reset added in v0.2.1

func (m *BotReply) Reset()

func (*BotReply) String added in v0.2.1

func (m *BotReply) String() string

func (*BotReply) XXX_DiscardUnknown added in v0.2.1

func (m *BotReply) XXX_DiscardUnknown()

func (*BotReply) XXX_Marshal added in v0.2.1

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

func (*BotReply) XXX_Merge added in v0.2.1

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

func (*BotReply) XXX_Size added in v0.2.1

func (m *BotReply) XXX_Size() int

func (*BotReply) XXX_Unmarshal added in v0.2.1

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

type BotRequest added in v0.2.1

type BotRequest struct {
	Bot *Bot `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"`
}

func (*BotRequest) Descriptor added in v0.2.1

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

func (*BotRequest) GetBot added in v0.2.1

func (m *BotRequest) GetBot() *Bot

func (*BotRequest) ProtoMessage added in v0.2.1

func (*BotRequest) ProtoMessage()

func (*BotRequest) Reset added in v0.2.1

func (m *BotRequest) Reset()

func (*BotRequest) String added in v0.2.1

func (m *BotRequest) String() string

func (*BotRequest) XXX_DiscardUnknown added in v0.2.1

func (m *BotRequest) XXX_DiscardUnknown()

func (*BotRequest) XXX_Marshal added in v0.2.1

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

func (*BotRequest) XXX_Merge added in v0.2.1

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

func (*BotRequest) XXX_Size added in v0.2.1

func (m *BotRequest) XXX_Size() int

func (*BotRequest) XXX_Unmarshal added in v0.2.1

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

type BotSettingReply added in v0.2.1

type BotSettingReply struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	BotId   int64 `protobuf:"varint,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	Kvs     []*KV `protobuf:"bytes,3,rep,name=kvs,proto3" json:"kvs,omitempty"`
}

func (*BotSettingReply) Descriptor added in v0.2.1

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

func (*BotSettingReply) GetBotId added in v0.2.1

func (m *BotSettingReply) GetBotId() int64

func (*BotSettingReply) GetGroupId added in v0.2.1

func (m *BotSettingReply) GetGroupId() int64

func (*BotSettingReply) GetKvs added in v0.2.1

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

func (*BotSettingReply) ProtoMessage added in v0.2.1

func (*BotSettingReply) ProtoMessage()

func (*BotSettingReply) Reset added in v0.2.1

func (m *BotSettingReply) Reset()

func (*BotSettingReply) String added in v0.2.1

func (m *BotSettingReply) String() string

func (*BotSettingReply) XXX_DiscardUnknown added in v0.2.1

func (m *BotSettingReply) XXX_DiscardUnknown()

func (*BotSettingReply) XXX_Marshal added in v0.2.1

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

func (*BotSettingReply) XXX_Merge added in v0.2.1

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

func (*BotSettingReply) XXX_Size added in v0.2.1

func (m *BotSettingReply) XXX_Size() int

func (*BotSettingReply) XXX_Unmarshal added in v0.2.1

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

type BotSettingRequest added in v0.2.1

type BotSettingRequest struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	BotId   int64 `protobuf:"varint,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	Kvs     []*KV `protobuf:"bytes,3,rep,name=kvs,proto3" json:"kvs,omitempty"`
}

func (*BotSettingRequest) Descriptor added in v0.2.1

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

func (*BotSettingRequest) GetBotId added in v0.2.1

func (m *BotSettingRequest) GetBotId() int64

func (*BotSettingRequest) GetGroupId added in v0.2.1

func (m *BotSettingRequest) GetGroupId() int64

func (*BotSettingRequest) GetKvs added in v0.2.1

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

func (*BotSettingRequest) ProtoMessage added in v0.2.1

func (*BotSettingRequest) ProtoMessage()

func (*BotSettingRequest) Reset added in v0.2.1

func (m *BotSettingRequest) Reset()

func (*BotSettingRequest) String added in v0.2.1

func (m *BotSettingRequest) String() string

func (*BotSettingRequest) XXX_DiscardUnknown added in v0.2.1

func (m *BotSettingRequest) XXX_DiscardUnknown()

func (*BotSettingRequest) XXX_Marshal added in v0.2.1

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

func (*BotSettingRequest) XXX_Merge added in v0.2.1

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

func (*BotSettingRequest) XXX_Size added in v0.2.1

func (m *BotSettingRequest) XXX_Size() int

func (*BotSettingRequest) XXX_Unmarshal added in v0.2.1

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

type BotsReply added in v0.2.1

type BotsReply struct {
	Bots []*Bot `protobuf:"bytes,1,rep,name=bots,proto3" json:"bots,omitempty"`
}

func (*BotsReply) Descriptor added in v0.2.1

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

func (*BotsReply) GetBots added in v0.2.1

func (m *BotsReply) GetBots() []*Bot

func (*BotsReply) ProtoMessage added in v0.2.1

func (*BotsReply) ProtoMessage()

func (*BotsReply) Reset added in v0.2.1

func (m *BotsReply) Reset()

func (*BotsReply) String added in v0.2.1

func (m *BotsReply) String() string

func (*BotsReply) XXX_DiscardUnknown added in v0.2.1

func (m *BotsReply) XXX_DiscardUnknown()

func (*BotsReply) XXX_Marshal added in v0.2.1

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

func (*BotsReply) XXX_Merge added in v0.2.1

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

func (*BotsReply) XXX_Size added in v0.2.1

func (m *BotsReply) XXX_Size() int

func (*BotsReply) XXX_Unmarshal added in v0.2.1

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

type BotsRequest added in v0.2.1

type BotsRequest struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}

func (*BotsRequest) Descriptor added in v0.2.1

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

func (*BotsRequest) GetGroupId added in v0.2.1

func (m *BotsRequest) GetGroupId() int64

func (*BotsRequest) ProtoMessage added in v0.2.1

func (*BotsRequest) ProtoMessage()

func (*BotsRequest) Reset added in v0.2.1

func (m *BotsRequest) Reset()

func (*BotsRequest) String added in v0.2.1

func (m *BotsRequest) String() string

func (*BotsRequest) XXX_DiscardUnknown added in v0.2.1

func (m *BotsRequest) XXX_DiscardUnknown()

func (*BotsRequest) XXX_Marshal added in v0.2.1

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

func (*BotsRequest) XXX_Merge added in v0.2.1

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

func (*BotsRequest) XXX_Size added in v0.2.1

func (m *BotsRequest) XXX_Size() int

func (*BotsRequest) XXX_Unmarshal added in v0.2.1

func (m *BotsRequest) 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"`
}

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 ChartData added in v0.1.1

type ChartData struct {
	// @inject_tag: query:"uuid" json:"uuid"
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid" query:"uuid"`
	// @inject_tag: query:"title" json:"title"
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title" query:"title"`
	// @inject_tag: query:"sub_title" json:"sub_title"
	SubTitle string `protobuf:"bytes,3,opt,name=sub_title,json=subTitle,proto3" json:"sub_title" query:"sub_title"`
	// @inject_tag: query:"x_axis" json:"x_axis"
	XAxis []string `protobuf:"bytes,4,rep,name=x_axis,json=xAxis,proto3" json:"x_axis" query:"x_axis"`
	// @inject_tag: query:"series" json:"series"
	Series []float64 `protobuf:"fixed64,5,rep,packed,name=series,proto3" json:"series" query:"series"`
}

func (*ChartData) Descriptor added in v0.1.1

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

func (*ChartData) GetSeries added in v0.1.1

func (m *ChartData) GetSeries() []float64

func (*ChartData) GetSubTitle added in v0.1.1

func (m *ChartData) GetSubTitle() string

func (*ChartData) GetTitle added in v0.1.1

func (m *ChartData) GetTitle() string

func (*ChartData) GetUuid added in v0.1.1

func (m *ChartData) GetUuid() string

func (*ChartData) GetXAxis added in v0.1.1

func (m *ChartData) GetXAxis() []string

func (*ChartData) ProtoMessage added in v0.1.1

func (*ChartData) ProtoMessage()

func (*ChartData) Reset added in v0.1.1

func (m *ChartData) Reset()

func (*ChartData) String added in v0.1.1

func (m *ChartData) String() string

func (*ChartData) XXX_DiscardUnknown added in v0.1.1

func (m *ChartData) XXX_DiscardUnknown()

func (*ChartData) XXX_Marshal added in v0.1.1

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

func (*ChartData) XXX_Merge added in v0.1.1

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

func (*ChartData) XXX_Size added in v0.1.1

func (m *ChartData) XXX_Size() int

func (*ChartData) XXX_Unmarshal added in v0.1.1

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

type ChartDataReply added in v0.1.1

type ChartDataReply struct {
	ChartData *ChartData `protobuf:"bytes,1,opt,name=chart_data,json=chartData,proto3" json:"chart_data,omitempty"`
}

func (*ChartDataReply) Descriptor added in v0.1.1

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

func (*ChartDataReply) GetChartData added in v0.1.1

func (m *ChartDataReply) GetChartData() *ChartData

func (*ChartDataReply) ProtoMessage added in v0.1.1

func (*ChartDataReply) ProtoMessage()

func (*ChartDataReply) Reset added in v0.1.1

func (m *ChartDataReply) Reset()

func (*ChartDataReply) String added in v0.1.1

func (m *ChartDataReply) String() string

func (*ChartDataReply) XXX_DiscardUnknown added in v0.1.1

func (m *ChartDataReply) XXX_DiscardUnknown()

func (*ChartDataReply) XXX_Marshal added in v0.1.1

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

func (*ChartDataReply) XXX_Merge added in v0.1.1

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

func (*ChartDataReply) XXX_Size added in v0.1.1

func (m *ChartDataReply) XXX_Size() int

func (*ChartDataReply) XXX_Unmarshal added in v0.1.1

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

type ChartDataRequest added in v0.1.1

type ChartDataRequest struct {
	ChartData *ChartData `protobuf:"bytes,1,opt,name=chart_data,json=chartData,proto3" json:"chart_data,omitempty"`
}

func (*ChartDataRequest) Descriptor added in v0.1.1

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

func (*ChartDataRequest) GetChartData added in v0.1.1

func (m *ChartDataRequest) GetChartData() *ChartData

func (*ChartDataRequest) ProtoMessage added in v0.1.1

func (*ChartDataRequest) ProtoMessage()

func (*ChartDataRequest) Reset added in v0.1.1

func (m *ChartDataRequest) Reset()

func (*ChartDataRequest) String added in v0.1.1

func (m *ChartDataRequest) String() string

func (*ChartDataRequest) XXX_DiscardUnknown added in v0.1.1

func (m *ChartDataRequest) XXX_DiscardUnknown()

func (*ChartDataRequest) XXX_Marshal added in v0.1.1

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

func (*ChartDataRequest) XXX_Merge added in v0.1.1

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

func (*ChartDataRequest) XXX_Size added in v0.1.1

func (m *ChartDataRequest) XXX_Size() int

func (*ChartDataRequest) XXX_Unmarshal added in v0.1.1

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

type ChatbotReply added in v0.0.25

type ChatbotReply struct {
	State bool `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
}

func (*ChatbotReply) Descriptor added in v0.0.25

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

func (*ChatbotReply) GetState added in v0.2.1

func (m *ChatbotReply) GetState() bool

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 {
	MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
}

func (*ChatbotRequest) Descriptor added in v0.0.25

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

func (*ChatbotRequest) GetMessageId added in v0.2.1

func (m *ChatbotRequest) GetMessageId() int64

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)
	Register(ctx context.Context, in *BotRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetBot(ctx context.Context, in *BotRequest, opts ...grpc.CallOption) (*BotReply, error)
	GetBots(ctx context.Context, in *BotsRequest, opts ...grpc.CallOption) (*BotsReply, error)
	CreateGroupBot(ctx context.Context, in *GroupBotRequest, opts ...grpc.CallOption) (*StateReply, error)
	DeleteGroupBot(ctx context.Context, in *GroupBotRequest, opts ...grpc.CallOption) (*StateReply, error)
	UpdateGroupBotSetting(ctx context.Context, in *BotSettingRequest, opts ...grpc.CallOption) (*StateReply, error)
	UpdateGroupSetting(ctx context.Context, in *GroupSettingRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetGroupBotSetting(ctx context.Context, in *BotSettingRequest, opts ...grpc.CallOption) (*BotSettingReply, error)
	GetGroupSetting(ctx context.Context, in *GroupSettingRequest, opts ...grpc.CallOption) (*GroupSettingReply, error)
	GetGroups(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*GroupsReply, error)
	CreateGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*GroupReply, error)
	DeleteGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*StateReply, error)
	UpdateGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*StateReply, error)
}

ChatbotSvcClient is the client API for ChatbotSvc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewChatbotSvcClient added in v0.0.25

func NewChatbotSvcClient(cc grpc.ClientConnInterface) ChatbotSvcClient

type ChatbotSvcServer added in v0.0.25

ChatbotSvcServer is the server API for ChatbotSvc service. All implementations should embed UnimplementedChatbotSvcServer for forward compatibility

type Credential added in v0.0.17

type Credential struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @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 int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

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() int64

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() int64

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"`
}

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"`
}

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"`
}

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 Cron added in v0.1.1

type Cron struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	When  string `protobuf:"bytes,2,opt,name=when,proto3" json:"when,omitempty"`
	State bool   `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
}

func (*Cron) Descriptor added in v0.1.1

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

func (*Cron) GetName added in v0.1.1

func (m *Cron) GetName() string

func (*Cron) GetState added in v0.1.1

func (m *Cron) GetState() bool

func (*Cron) GetWhen added in v0.1.1

func (m *Cron) GetWhen() string

func (*Cron) ProtoMessage added in v0.1.1

func (*Cron) ProtoMessage()

func (*Cron) Reset added in v0.1.1

func (m *Cron) Reset()

func (*Cron) String added in v0.1.1

func (m *Cron) String() string

func (*Cron) XXX_DiscardUnknown added in v0.1.1

func (m *Cron) XXX_DiscardUnknown()

func (*Cron) XXX_Marshal added in v0.1.1

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

func (*Cron) XXX_Merge added in v0.1.1

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

func (*Cron) XXX_Size added in v0.1.1

func (m *Cron) XXX_Size() int

func (*Cron) XXX_Unmarshal added in v0.1.1

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

type CronReply added in v0.1.1

type CronReply struct {
	Cron []*Cron `protobuf:"bytes,1,rep,name=cron,proto3" json:"cron,omitempty"`
}

func (*CronReply) Descriptor added in v0.1.1

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

func (*CronReply) GetCron added in v0.1.1

func (m *CronReply) GetCron() []*Cron

func (*CronReply) ProtoMessage added in v0.1.1

func (*CronReply) ProtoMessage()

func (*CronReply) Reset added in v0.1.1

func (m *CronReply) Reset()

func (*CronReply) String added in v0.1.1

func (m *CronReply) String() string

func (*CronReply) XXX_DiscardUnknown added in v0.1.1

func (m *CronReply) XXX_DiscardUnknown()

func (*CronReply) XXX_Marshal added in v0.1.1

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

func (*CronReply) XXX_Merge added in v0.1.1

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

func (*CronReply) XXX_Size added in v0.1.1

func (m *CronReply) XXX_Size() int

func (*CronReply) XXX_Unmarshal added in v0.1.1

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

type CronRequest added in v0.1.1

type CronRequest struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
}

func (*CronRequest) Descriptor added in v0.1.1

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

func (*CronRequest) GetText added in v0.1.1

func (m *CronRequest) GetText() string

func (*CronRequest) ProtoMessage added in v0.1.1

func (*CronRequest) ProtoMessage()

func (*CronRequest) Reset added in v0.1.1

func (m *CronRequest) Reset()

func (*CronRequest) String added in v0.1.1

func (m *CronRequest) String() string

func (*CronRequest) XXX_DiscardUnknown added in v0.1.1

func (m *CronRequest) XXX_DiscardUnknown()

func (*CronRequest) XXX_Marshal added in v0.1.1

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

func (*CronRequest) XXX_Merge added in v0.1.1

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

func (*CronRequest) XXX_Size added in v0.1.1

func (m *CronRequest) XXX_Size() int

func (*CronRequest) XXX_Unmarshal added in v0.1.1

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

type Device added in v0.2.1

type Device struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" db:"user_id"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

func (*Device) Descriptor added in v0.2.1

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

func (*Device) GetCreatedAt added in v0.2.1

func (m *Device) GetCreatedAt() int64

func (*Device) GetId added in v0.2.1

func (m *Device) GetId() int64

func (*Device) GetName added in v0.2.1

func (m *Device) GetName() string

func (*Device) GetUpdatedAt added in v0.2.1

func (m *Device) GetUpdatedAt() int64

func (*Device) GetUserId added in v0.2.1

func (m *Device) GetUserId() int64

func (*Device) ProtoMessage added in v0.2.1

func (*Device) ProtoMessage()

func (*Device) Reset added in v0.2.1

func (m *Device) Reset()

func (*Device) String added in v0.2.1

func (m *Device) String() string

func (*Device) XXX_DiscardUnknown added in v0.2.1

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal added in v0.2.1

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

func (*Device) XXX_Merge added in v0.2.1

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

func (*Device) XXX_Size added in v0.2.1

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal added in v0.2.1

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

type DeviceRequest added in v0.2.1

type DeviceRequest struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}

func (*DeviceRequest) Descriptor added in v0.2.1

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

func (*DeviceRequest) GetDevice added in v0.2.1

func (m *DeviceRequest) GetDevice() *Device

func (*DeviceRequest) ProtoMessage added in v0.2.1

func (*DeviceRequest) ProtoMessage()

func (*DeviceRequest) Reset added in v0.2.1

func (m *DeviceRequest) Reset()

func (*DeviceRequest) String added in v0.2.1

func (m *DeviceRequest) String() string

func (*DeviceRequest) XXX_DiscardUnknown added in v0.2.1

func (m *DeviceRequest) XXX_DiscardUnknown()

func (*DeviceRequest) XXX_Marshal added in v0.2.1

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

func (*DeviceRequest) XXX_Merge added in v0.2.1

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

func (*DeviceRequest) XXX_Size added in v0.2.1

func (m *DeviceRequest) XXX_Size() int

func (*DeviceRequest) XXX_Unmarshal added in v0.2.1

func (m *DeviceRequest) 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=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
}

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=file_type,json=fileType,proto3" json:"file_type,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)
	GetFund(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*FundReply, error)
	GetStock(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*StockReply, error)
}

FinanceSvcClient is the client API for FinanceSvc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewFinanceSvcClient added in v0.0.25

func NewFinanceSvcClient(cc grpc.ClientConnInterface) 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)
	GetFund(context.Context, *TextRequest) (*FundReply, error)
	GetStock(context.Context, *TextRequest) (*StockReply, error)
}

FinanceSvcServer is the server API for FinanceSvc service. All implementations should embed UnimplementedFinanceSvcServer for forward compatibility

type FundReply added in v0.1.1

type FundReply struct {
	Code                          string    `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Name                          string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type                          string    `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	NetWorth                      float64   `protobuf:"fixed64,4,opt,name=net_worth,json=netWorth,proto3" json:"net_worth,omitempty"`
	ExpectWorth                   float64   `protobuf:"fixed64,5,opt,name=expect_worth,json=expectWorth,proto3" json:"expect_worth,omitempty"`
	TotalWorth                    float64   `protobuf:"fixed64,6,opt,name=total_worth,json=totalWorth,proto3" json:"total_worth,omitempty"`
	ExpectGrowth                  string    `protobuf:"bytes,7,opt,name=expect_growth,json=expectGrowth,proto3" json:"expect_growth,omitempty"`
	DayGrowth                     string    `protobuf:"bytes,8,opt,name=day_growth,json=dayGrowth,proto3" json:"day_growth,omitempty"`
	LastWeekGrowth                string    `protobuf:"bytes,9,opt,name=last_week_growth,json=lastWeekGrowth,proto3" json:"last_week_growth,omitempty"`
	LastMonthGrowth               string    `protobuf:"bytes,10,opt,name=last_month_growth,json=lastMonthGrowth,proto3" json:"last_month_growth,omitempty"`
	LastThreeMonthsGrowth         string    `` /* 129-byte string literal not displayed */
	LastSixMonthsGrowth           string    `protobuf:"bytes,12,opt,name=last_six_months_growth,json=lastSixMonthsGrowth,proto3" json:"last_six_months_growth,omitempty"`
	LastYearGrowth                string    `protobuf:"bytes,13,opt,name=last_year_growth,json=lastYearGrowth,proto3" json:"last_year_growth,omitempty"`
	BuyMin                        string    `protobuf:"bytes,14,opt,name=buy_min,json=buyMin,proto3" json:"buy_min,omitempty"`
	BuySourceRate                 string    `protobuf:"bytes,15,opt,name=buy_source_rate,json=buySourceRate,proto3" json:"buy_source_rate,omitempty"`
	BuyRate                       string    `protobuf:"bytes,16,opt,name=buy_rate,json=buyRate,proto3" json:"buy_rate,omitempty"`
	Manager                       string    `protobuf:"bytes,17,opt,name=manager,proto3" json:"manager,omitempty"`
	FundScale                     string    `protobuf:"bytes,18,opt,name=fund_scale,json=fundScale,proto3" json:"fund_scale,omitempty"`
	NetWorthDate                  string    `protobuf:"bytes,19,opt,name=net_worth_date,json=netWorthDate,proto3" json:"net_worth_date,omitempty"`
	ExpectWorthDate               string    `protobuf:"bytes,20,opt,name=expect_worth_date,json=expectWorthDate,proto3" json:"expect_worth_date,omitempty"`
	NetWorthDataDate              []string  `protobuf:"bytes,21,rep,name=net_worth_data_date,json=netWorthDataDate,proto3" json:"net_worth_data_date,omitempty"`
	NetWorthDataUnit              []float64 `protobuf:"fixed64,22,rep,packed,name=net_worth_data_unit,json=netWorthDataUnit,proto3" json:"net_worth_data_unit,omitempty"`
	NetWorthDataIncrease          []float64 `` /* 135-byte string literal not displayed */
	MillionCopiesIncomeDataDate   []string  `` /* 149-byte string literal not displayed */
	MillionCopiesIncomeDataIncome []float64 `` /* 164-byte string literal not displayed */
	MillionCopiesIncomeDate       string    `` /* 135-byte string literal not displayed */
	SevenDaysYearIncome           float64   `protobuf:"fixed64,27,opt,name=seven_days_year_income,json=sevenDaysYearIncome,proto3" json:"seven_days_year_income,omitempty"`
	XXX_NoUnkeyedLiteral          struct{}  `json:"-"`
	XXX_unrecognized              []byte    `json:"-"`
	XXX_sizecache                 int32     `json:"-"`
}

func (*FundReply) Descriptor added in v0.1.1

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

func (*FundReply) GetBuyMin added in v0.1.1

func (m *FundReply) GetBuyMin() string

func (*FundReply) GetBuyRate added in v0.1.1

func (m *FundReply) GetBuyRate() string

func (*FundReply) GetBuySourceRate added in v0.1.1

func (m *FundReply) GetBuySourceRate() string

func (*FundReply) GetCode added in v0.1.1

func (m *FundReply) GetCode() string

func (*FundReply) GetDayGrowth added in v0.1.1

func (m *FundReply) GetDayGrowth() string

func (*FundReply) GetExpectGrowth added in v0.1.1

func (m *FundReply) GetExpectGrowth() string

func (*FundReply) GetExpectWorth added in v0.1.1

func (m *FundReply) GetExpectWorth() float64

func (*FundReply) GetExpectWorthDate added in v0.1.1

func (m *FundReply) GetExpectWorthDate() string

func (*FundReply) GetFundScale added in v0.1.1

func (m *FundReply) GetFundScale() string

func (*FundReply) GetLastMonthGrowth added in v0.1.1

func (m *FundReply) GetLastMonthGrowth() string

func (*FundReply) GetLastSixMonthsGrowth added in v0.1.1

func (m *FundReply) GetLastSixMonthsGrowth() string

func (*FundReply) GetLastThreeMonthsGrowth added in v0.1.1

func (m *FundReply) GetLastThreeMonthsGrowth() string

func (*FundReply) GetLastWeekGrowth added in v0.1.1

func (m *FundReply) GetLastWeekGrowth() string

func (*FundReply) GetLastYearGrowth added in v0.1.1

func (m *FundReply) GetLastYearGrowth() string

func (*FundReply) GetManager added in v0.1.1

func (m *FundReply) GetManager() string

func (*FundReply) GetMillionCopiesIncomeDataDate added in v0.1.1

func (m *FundReply) GetMillionCopiesIncomeDataDate() []string

func (*FundReply) GetMillionCopiesIncomeDataIncome added in v0.1.1

func (m *FundReply) GetMillionCopiesIncomeDataIncome() []float64

func (*FundReply) GetMillionCopiesIncomeDate added in v0.1.1

func (m *FundReply) GetMillionCopiesIncomeDate() string

func (*FundReply) GetName added in v0.1.1

func (m *FundReply) GetName() string

func (*FundReply) GetNetWorth added in v0.1.1

func (m *FundReply) GetNetWorth() float64

func (*FundReply) GetNetWorthDataDate added in v0.1.1

func (m *FundReply) GetNetWorthDataDate() []string

func (*FundReply) GetNetWorthDataIncrease added in v0.1.1

func (m *FundReply) GetNetWorthDataIncrease() []float64

func (*FundReply) GetNetWorthDataUnit added in v0.1.1

func (m *FundReply) GetNetWorthDataUnit() []float64

func (*FundReply) GetNetWorthDate added in v0.1.1

func (m *FundReply) GetNetWorthDate() string

func (*FundReply) GetSevenDaysYearIncome added in v0.1.1

func (m *FundReply) GetSevenDaysYearIncome() float64

func (*FundReply) GetTotalWorth added in v0.1.1

func (m *FundReply) GetTotalWorth() float64

func (*FundReply) GetType added in v0.1.1

func (m *FundReply) GetType() string

func (*FundReply) ProtoMessage added in v0.1.1

func (*FundReply) ProtoMessage()

func (*FundReply) Reset added in v0.1.1

func (m *FundReply) Reset()

func (*FundReply) String added in v0.1.1

func (m *FundReply) String() string

func (*FundReply) XXX_DiscardUnknown added in v0.1.1

func (m *FundReply) XXX_DiscardUnknown()

func (*FundReply) XXX_Marshal added in v0.1.1

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

func (*FundReply) XXX_Merge added in v0.1.1

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

func (*FundReply) XXX_Size added in v0.1.1

func (m *FundReply) XXX_Size() int

func (*FundReply) XXX_Unmarshal added in v0.1.1

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

type Group added in v0.2.1

type Group struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// @inject_tag: db:"sequence"
	Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// @inject_tag: db:"type"
	Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	// @inject_tag: db:"uuid"
	Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// @inject_tag: db:"avatar"
	Avatar string `protobuf:"bytes,7,opt,name=avatar,proto3" json:"avatar,omitempty"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

func (*Group) Descriptor added in v0.2.1

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

func (*Group) GetAvatar added in v0.2.1

func (m *Group) GetAvatar() string

func (*Group) GetCreatedAt added in v0.2.1

func (m *Group) GetCreatedAt() int64

func (*Group) GetId added in v0.2.1

func (m *Group) GetId() int64

func (*Group) GetName added in v0.2.1

func (m *Group) GetName() string

func (*Group) GetSequence added in v0.2.1

func (m *Group) GetSequence() int64

func (*Group) GetType added in v0.2.1

func (m *Group) GetType() int32

func (*Group) GetUpdatedAt added in v0.2.1

func (m *Group) GetUpdatedAt() int64

func (*Group) GetUserId added in v0.2.1

func (m *Group) GetUserId() int64

func (*Group) GetUuid added in v0.2.1

func (m *Group) GetUuid() string

func (*Group) ProtoMessage added in v0.2.1

func (*Group) ProtoMessage()

func (*Group) Reset added in v0.2.1

func (m *Group) Reset()

func (*Group) String added in v0.2.1

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown added in v0.2.1

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal added in v0.2.1

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

func (*Group) XXX_Merge added in v0.2.1

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

func (*Group) XXX_Size added in v0.2.1

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal added in v0.2.1

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

type GroupBot added in v0.2.1

type GroupBot struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// @inject_tag: db:"group_id"
	GroupId int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// @inject_tag: db:"bot_id"
	BotId int64 `protobuf:"varint,3,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

func (*GroupBot) Descriptor added in v0.2.1

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

func (*GroupBot) GetBotId added in v0.2.1

func (m *GroupBot) GetBotId() int64

func (*GroupBot) GetCreatedAt added in v0.2.1

func (m *GroupBot) GetCreatedAt() int64

func (*GroupBot) GetGroupId added in v0.2.1

func (m *GroupBot) GetGroupId() int64

func (*GroupBot) GetId added in v0.2.1

func (m *GroupBot) GetId() int64

func (*GroupBot) GetUpdatedAt added in v0.2.1

func (m *GroupBot) GetUpdatedAt() int64

func (*GroupBot) ProtoMessage added in v0.2.1

func (*GroupBot) ProtoMessage()

func (*GroupBot) Reset added in v0.2.1

func (m *GroupBot) Reset()

func (*GroupBot) String added in v0.2.1

func (m *GroupBot) String() string

func (*GroupBot) XXX_DiscardUnknown added in v0.2.1

func (m *GroupBot) XXX_DiscardUnknown()

func (*GroupBot) XXX_Marshal added in v0.2.1

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

func (*GroupBot) XXX_Merge added in v0.2.1

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

func (*GroupBot) XXX_Size added in v0.2.1

func (m *GroupBot) XXX_Size() int

func (*GroupBot) XXX_Unmarshal added in v0.2.1

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

type GroupBotRequest added in v0.2.1

type GroupBotRequest struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Bot     *Bot  `protobuf:"bytes,2,opt,name=bot,proto3" json:"bot,omitempty"`
}

func (*GroupBotRequest) Descriptor added in v0.2.1

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

func (*GroupBotRequest) GetBot added in v0.2.1

func (m *GroupBotRequest) GetBot() *Bot

func (*GroupBotRequest) GetGroupId added in v0.2.1

func (m *GroupBotRequest) GetGroupId() int64

func (*GroupBotRequest) ProtoMessage added in v0.2.1

func (*GroupBotRequest) ProtoMessage()

func (*GroupBotRequest) Reset added in v0.2.1

func (m *GroupBotRequest) Reset()

func (*GroupBotRequest) String added in v0.2.1

func (m *GroupBotRequest) String() string

func (*GroupBotRequest) XXX_DiscardUnknown added in v0.2.1

func (m *GroupBotRequest) XXX_DiscardUnknown()

func (*GroupBotRequest) XXX_Marshal added in v0.2.1

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

func (*GroupBotRequest) XXX_Merge added in v0.2.1

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

func (*GroupBotRequest) XXX_Size added in v0.2.1

func (m *GroupBotRequest) XXX_Size() int

func (*GroupBotRequest) XXX_Unmarshal added in v0.2.1

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

type GroupBotSetting added in v0.2.1

type GroupBotSetting struct {
	// @inject_tag: db:"group_id"
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// @inject_tag: db:"bot_id"
	BotId int64 `protobuf:"varint,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	// @inject_tag: db:"key"
	Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// @inject_tag: db:"value"
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

func (*GroupBotSetting) Descriptor added in v0.2.1

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

func (*GroupBotSetting) GetBotId added in v0.2.1

func (m *GroupBotSetting) GetBotId() int64

func (*GroupBotSetting) GetCreatedAt added in v0.2.1

func (m *GroupBotSetting) GetCreatedAt() int64

func (*GroupBotSetting) GetGroupId added in v0.2.1

func (m *GroupBotSetting) GetGroupId() int64

func (*GroupBotSetting) GetKey added in v0.2.1

func (m *GroupBotSetting) GetKey() string

func (*GroupBotSetting) GetUpdatedAt added in v0.2.1

func (m *GroupBotSetting) GetUpdatedAt() int64

func (*GroupBotSetting) GetValue added in v0.2.1

func (m *GroupBotSetting) GetValue() string

func (*GroupBotSetting) ProtoMessage added in v0.2.1

func (*GroupBotSetting) ProtoMessage()

func (*GroupBotSetting) Reset added in v0.2.1

func (m *GroupBotSetting) Reset()

func (*GroupBotSetting) String added in v0.2.1

func (m *GroupBotSetting) String() string

func (*GroupBotSetting) XXX_DiscardUnknown added in v0.2.1

func (m *GroupBotSetting) XXX_DiscardUnknown()

func (*GroupBotSetting) XXX_Marshal added in v0.2.1

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

func (*GroupBotSetting) XXX_Merge added in v0.2.1

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

func (*GroupBotSetting) XXX_Size added in v0.2.1

func (m *GroupBotSetting) XXX_Size() int

func (*GroupBotSetting) XXX_Unmarshal added in v0.2.1

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

type GroupReply added in v0.2.1

type GroupReply struct {
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
}

func (*GroupReply) Descriptor added in v0.2.1

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

func (*GroupReply) GetGroup added in v0.2.1

func (m *GroupReply) GetGroup() *Group

func (*GroupReply) ProtoMessage added in v0.2.1

func (*GroupReply) ProtoMessage()

func (*GroupReply) Reset added in v0.2.1

func (m *GroupReply) Reset()

func (*GroupReply) String added in v0.2.1

func (m *GroupReply) String() string

func (*GroupReply) XXX_DiscardUnknown added in v0.2.1

func (m *GroupReply) XXX_DiscardUnknown()

func (*GroupReply) XXX_Marshal added in v0.2.1

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

func (*GroupReply) XXX_Merge added in v0.2.1

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

func (*GroupReply) XXX_Size added in v0.2.1

func (m *GroupReply) XXX_Size() int

func (*GroupReply) XXX_Unmarshal added in v0.2.1

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

type GroupRequest added in v0.2.1

type GroupRequest struct {
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
}

func (*GroupRequest) Descriptor added in v0.2.1

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

func (*GroupRequest) GetGroup added in v0.2.1

func (m *GroupRequest) GetGroup() *Group

func (*GroupRequest) ProtoMessage added in v0.2.1

func (*GroupRequest) ProtoMessage()

func (*GroupRequest) Reset added in v0.2.1

func (m *GroupRequest) Reset()

func (*GroupRequest) String added in v0.2.1

func (m *GroupRequest) String() string

func (*GroupRequest) XXX_DiscardUnknown added in v0.2.1

func (m *GroupRequest) XXX_DiscardUnknown()

func (*GroupRequest) XXX_Marshal added in v0.2.1

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

func (*GroupRequest) XXX_Merge added in v0.2.1

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

func (*GroupRequest) XXX_Size added in v0.2.1

func (m *GroupRequest) XXX_Size() int

func (*GroupRequest) XXX_Unmarshal added in v0.2.1

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

type GroupSetting added in v0.2.1

type GroupSetting struct {
	// @inject_tag: db:"group_id"
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// @inject_tag: db:"key"
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// @inject_tag: db:"value"
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

func (*GroupSetting) Descriptor added in v0.2.1

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

func (*GroupSetting) GetCreatedAt added in v0.2.1

func (m *GroupSetting) GetCreatedAt() int64

func (*GroupSetting) GetGroupId added in v0.2.1

func (m *GroupSetting) GetGroupId() int64

func (*GroupSetting) GetKey added in v0.2.1

func (m *GroupSetting) GetKey() string

func (*GroupSetting) GetUpdatedAt added in v0.2.1

func (m *GroupSetting) GetUpdatedAt() int64

func (*GroupSetting) GetValue added in v0.2.1

func (m *GroupSetting) GetValue() string

func (*GroupSetting) ProtoMessage added in v0.2.1

func (*GroupSetting) ProtoMessage()

func (*GroupSetting) Reset added in v0.2.1

func (m *GroupSetting) Reset()

func (*GroupSetting) String added in v0.2.1

func (m *GroupSetting) String() string

func (*GroupSetting) XXX_DiscardUnknown added in v0.2.1

func (m *GroupSetting) XXX_DiscardUnknown()

func (*GroupSetting) XXX_Marshal added in v0.2.1

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

func (*GroupSetting) XXX_Merge added in v0.2.1

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

func (*GroupSetting) XXX_Size added in v0.2.1

func (m *GroupSetting) XXX_Size() int

func (*GroupSetting) XXX_Unmarshal added in v0.2.1

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

type GroupSettingReply added in v0.2.1

type GroupSettingReply struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Kvs     []*KV `protobuf:"bytes,3,rep,name=kvs,proto3" json:"kvs,omitempty"`
}

func (*GroupSettingReply) Descriptor added in v0.2.1

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

func (*GroupSettingReply) GetGroupId added in v0.2.1

func (m *GroupSettingReply) GetGroupId() int64

func (*GroupSettingReply) GetKvs added in v0.2.1

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

func (*GroupSettingReply) ProtoMessage added in v0.2.1

func (*GroupSettingReply) ProtoMessage()

func (*GroupSettingReply) Reset added in v0.2.1

func (m *GroupSettingReply) Reset()

func (*GroupSettingReply) String added in v0.2.1

func (m *GroupSettingReply) String() string

func (*GroupSettingReply) XXX_DiscardUnknown added in v0.2.1

func (m *GroupSettingReply) XXX_DiscardUnknown()

func (*GroupSettingReply) XXX_Marshal added in v0.2.1

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

func (*GroupSettingReply) XXX_Merge added in v0.2.1

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

func (*GroupSettingReply) XXX_Size added in v0.2.1

func (m *GroupSettingReply) XXX_Size() int

func (*GroupSettingReply) XXX_Unmarshal added in v0.2.1

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

type GroupSettingRequest added in v0.2.1

type GroupSettingRequest struct {
	GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Kvs     []*KV `protobuf:"bytes,3,rep,name=kvs,proto3" json:"kvs,omitempty"`
}

func (*GroupSettingRequest) Descriptor added in v0.2.1

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

func (*GroupSettingRequest) GetGroupId added in v0.2.1

func (m *GroupSettingRequest) GetGroupId() int64

func (*GroupSettingRequest) GetKvs added in v0.2.1

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

func (*GroupSettingRequest) ProtoMessage added in v0.2.1

func (*GroupSettingRequest) ProtoMessage()

func (*GroupSettingRequest) Reset added in v0.2.1

func (m *GroupSettingRequest) Reset()

func (*GroupSettingRequest) String added in v0.2.1

func (m *GroupSettingRequest) String() string

func (*GroupSettingRequest) XXX_DiscardUnknown added in v0.2.1

func (m *GroupSettingRequest) XXX_DiscardUnknown()

func (*GroupSettingRequest) XXX_Marshal added in v0.2.1

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

func (*GroupSettingRequest) XXX_Merge added in v0.2.1

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

func (*GroupSettingRequest) XXX_Size added in v0.2.1

func (m *GroupSettingRequest) XXX_Size() int

func (*GroupSettingRequest) XXX_Unmarshal added in v0.2.1

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

type GroupTag added in v0.2.1

type GroupTag struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// @inject_tag: db:"group_id"
	GroupId int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// @inject_tag: db:"tag"
	Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

func (*GroupTag) Descriptor added in v0.2.1

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

func (*GroupTag) GetCreatedAt added in v0.2.1

func (m *GroupTag) GetCreatedAt() int64

func (*GroupTag) GetGroupId added in v0.2.1

func (m *GroupTag) GetGroupId() int64

func (*GroupTag) GetId added in v0.2.1

func (m *GroupTag) GetId() int64

func (*GroupTag) GetTag added in v0.2.1

func (m *GroupTag) GetTag() string

func (*GroupTag) GetUpdatedAt added in v0.2.1

func (m *GroupTag) GetUpdatedAt() int64

func (*GroupTag) ProtoMessage added in v0.2.1

func (*GroupTag) ProtoMessage()

func (*GroupTag) Reset added in v0.2.1

func (m *GroupTag) Reset()

func (*GroupTag) String added in v0.2.1

func (m *GroupTag) String() string

func (*GroupTag) XXX_DiscardUnknown added in v0.2.1

func (m *GroupTag) XXX_DiscardUnknown()

func (*GroupTag) XXX_Marshal added in v0.2.1

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

func (*GroupTag) XXX_Merge added in v0.2.1

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

func (*GroupTag) XXX_Size added in v0.2.1

func (m *GroupTag) XXX_Size() int

func (*GroupTag) XXX_Unmarshal added in v0.2.1

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

type GroupsReply added in v0.2.1

type GroupsReply struct {
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
}

func (*GroupsReply) Descriptor added in v0.2.1

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

func (*GroupsReply) GetGroups added in v0.2.1

func (m *GroupsReply) GetGroups() []*Group

func (*GroupsReply) ProtoMessage added in v0.2.1

func (*GroupsReply) ProtoMessage()

func (*GroupsReply) Reset added in v0.2.1

func (m *GroupsReply) Reset()

func (*GroupsReply) String added in v0.2.1

func (m *GroupsReply) String() string

func (*GroupsReply) XXX_DiscardUnknown added in v0.2.1

func (m *GroupsReply) XXX_DiscardUnknown()

func (*GroupsReply) XXX_Marshal added in v0.2.1

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

func (*GroupsReply) XXX_Merge added in v0.2.1

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

func (*GroupsReply) XXX_Size added in v0.2.1

func (m *GroupsReply) XXX_Size() int

func (*GroupsReply) XXX_Unmarshal added in v0.2.1

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

type IdReply added in v0.2.1

type IdReply struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*IdReply) Descriptor added in v0.2.1

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

func (*IdReply) GetId added in v0.2.1

func (m *IdReply) GetId() int64

func (*IdReply) ProtoMessage added in v0.2.1

func (*IdReply) ProtoMessage()

func (*IdReply) Reset added in v0.2.1

func (m *IdReply) Reset()

func (*IdReply) String added in v0.2.1

func (m *IdReply) String() string

func (*IdReply) XXX_DiscardUnknown added in v0.2.1

func (m *IdReply) XXX_DiscardUnknown()

func (*IdReply) XXX_Marshal added in v0.2.1

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

func (*IdReply) XXX_Merge added in v0.2.1

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

func (*IdReply) XXX_Size added in v0.2.1

func (m *IdReply) XXX_Size() int

func (*IdReply) XXX_Unmarshal added in v0.2.1

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

type IdRequest added in v0.2.1

type IdRequest struct {
	Ip   string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port int64  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
}

func (*IdRequest) Descriptor added in v0.2.1

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

func (*IdRequest) GetIp added in v0.2.1

func (m *IdRequest) GetIp() string

func (*IdRequest) GetPort added in v0.2.1

func (m *IdRequest) GetPort() int64

func (*IdRequest) ProtoMessage added in v0.2.1

func (*IdRequest) ProtoMessage()

func (*IdRequest) Reset added in v0.2.1

func (m *IdRequest) Reset()

func (*IdRequest) String added in v0.2.1

func (m *IdRequest) String() string

func (*IdRequest) XXX_DiscardUnknown added in v0.2.1

func (m *IdRequest) XXX_DiscardUnknown()

func (*IdRequest) XXX_Marshal added in v0.2.1

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

func (*IdRequest) XXX_Merge added in v0.2.1

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

func (*IdRequest) XXX_Size added in v0.2.1

func (m *IdRequest) XXX_Size() int

func (*IdRequest) XXX_Unmarshal added in v0.2.1

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

type IdSvcClient added in v0.2.1

type IdSvcClient interface {
	GetGlobalId(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*IdReply, error)
}

IdSvcClient is the client API for IdSvc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewIdSvcClient added in v0.2.1

func NewIdSvcClient(cc grpc.ClientConnInterface) IdSvcClient

type IdSvcServer added in v0.2.1

type IdSvcServer interface {
	GetGlobalId(context.Context, *IdRequest) (*IdReply, error)
}

IdSvcServer is the server API for IdSvc service. All implementations should embed UnimplementedIdSvcServer for forward compatibility

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"`
}

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"`
}

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 KeyResult added in v0.1.1

type KeyResult struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" db:"user_id"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"objective_id"
	ObjectiveId int64 `protobuf:"varint,4,opt,name=objective_id,json=objectiveId,proto3" json:"objective_id,omitempty" db:"objective_id"`
	// @inject_tag: db:"tag_id"
	TagId int64 `protobuf:"varint,5,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty" db:"tag_id"`
	// @inject_tag: db:"complete"
	Complete bool `protobuf:"varint,6,opt,name=complete,proto3" json:"complete,omitempty" db:"complete"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

func (*KeyResult) Descriptor added in v0.1.1

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

func (*KeyResult) GetComplete added in v0.1.1

func (m *KeyResult) GetComplete() bool

func (*KeyResult) GetCreatedAt added in v0.1.1

func (m *KeyResult) GetCreatedAt() int64

func (*KeyResult) GetId added in v0.1.1

func (m *KeyResult) GetId() int64

func (*KeyResult) GetName added in v0.1.1

func (m *KeyResult) GetName() string

func (*KeyResult) GetObjectiveId added in v0.1.1

func (m *KeyResult) GetObjectiveId() int64

func (*KeyResult) GetTagId added in v0.1.1

func (m *KeyResult) GetTagId() int64

func (*KeyResult) GetUpdatedAt added in v0.1.1

func (m *KeyResult) GetUpdatedAt() int64

func (*KeyResult) GetUserId added in v0.2.1

func (m *KeyResult) GetUserId() int64

func (*KeyResult) ProtoMessage added in v0.1.1

func (*KeyResult) ProtoMessage()

func (*KeyResult) Reset added in v0.1.1

func (m *KeyResult) Reset()

func (*KeyResult) String added in v0.1.1

func (m *KeyResult) String() string

func (*KeyResult) XXX_DiscardUnknown added in v0.1.1

func (m *KeyResult) XXX_DiscardUnknown()

func (*KeyResult) XXX_Marshal added in v0.1.1

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

func (*KeyResult) XXX_Merge added in v0.1.1

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

func (*KeyResult) XXX_Size added in v0.1.1

func (m *KeyResult) XXX_Size() int

func (*KeyResult) XXX_Unmarshal added in v0.1.1

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

type KeyResultReply added in v0.1.1

type KeyResultReply struct {
	KeyResult *KeyResult `protobuf:"bytes,1,opt,name=key_result,json=keyResult,proto3" json:"key_result,omitempty"`
}

func (*KeyResultReply) Descriptor added in v0.1.1

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

func (*KeyResultReply) GetKeyResult added in v0.1.1

func (m *KeyResultReply) GetKeyResult() *KeyResult

func (*KeyResultReply) ProtoMessage added in v0.1.1

func (*KeyResultReply) ProtoMessage()

func (*KeyResultReply) Reset added in v0.1.1

func (m *KeyResultReply) Reset()

func (*KeyResultReply) String added in v0.1.1

func (m *KeyResultReply) String() string

func (*KeyResultReply) XXX_DiscardUnknown added in v0.1.1

func (m *KeyResultReply) XXX_DiscardUnknown()

func (*KeyResultReply) XXX_Marshal added in v0.1.1

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

func (*KeyResultReply) XXX_Merge added in v0.1.1

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

func (*KeyResultReply) XXX_Size added in v0.1.1

func (m *KeyResultReply) XXX_Size() int

func (*KeyResultReply) XXX_Unmarshal added in v0.1.1

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

type KeyResultRequest added in v0.1.1

type KeyResultRequest struct {
	KeyResult *KeyResult `protobuf:"bytes,1,opt,name=key_result,json=keyResult,proto3" json:"key_result,omitempty"`
	Tag       string     `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
}

func (*KeyResultRequest) Descriptor added in v0.1.1

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

func (*KeyResultRequest) GetKeyResult added in v0.1.1

func (m *KeyResultRequest) GetKeyResult() *KeyResult

func (*KeyResultRequest) GetTag added in v0.2.1

func (m *KeyResultRequest) GetTag() string

func (*KeyResultRequest) ProtoMessage added in v0.1.1

func (*KeyResultRequest) ProtoMessage()

func (*KeyResultRequest) Reset added in v0.1.1

func (m *KeyResultRequest) Reset()

func (*KeyResultRequest) String added in v0.1.1

func (m *KeyResultRequest) String() string

func (*KeyResultRequest) XXX_DiscardUnknown added in v0.1.1

func (m *KeyResultRequest) XXX_DiscardUnknown()

func (*KeyResultRequest) XXX_Marshal added in v0.1.1

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

func (*KeyResultRequest) XXX_Merge added in v0.1.1

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

func (*KeyResultRequest) XXX_Size added in v0.1.1

func (m *KeyResultRequest) XXX_Size() int

func (*KeyResultRequest) XXX_Unmarshal added in v0.1.1

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

type KeyResultsReply added in v0.1.1

type KeyResultsReply struct {
	Result []*KeyResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
}

func (*KeyResultsReply) Descriptor added in v0.1.1

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

func (*KeyResultsReply) GetResult added in v0.1.1

func (m *KeyResultsReply) GetResult() []*KeyResult

func (*KeyResultsReply) ProtoMessage added in v0.1.1

func (*KeyResultsReply) ProtoMessage()

func (*KeyResultsReply) Reset added in v0.1.1

func (m *KeyResultsReply) Reset()

func (*KeyResultsReply) String added in v0.1.1

func (m *KeyResultsReply) String() string

func (*KeyResultsReply) XXX_DiscardUnknown added in v0.1.1

func (m *KeyResultsReply) XXX_DiscardUnknown()

func (*KeyResultsReply) XXX_Marshal added in v0.1.1

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

func (*KeyResultsReply) XXX_Merge added in v0.1.1

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

func (*KeyResultsReply) XXX_Size added in v0.1.1

func (m *KeyResultsReply) XXX_Size() int

func (*KeyResultsReply) XXX_Unmarshal added in v0.1.1

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

type LoginRequest added in v0.2.1

type LoginRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
}

func (*LoginRequest) Descriptor added in v0.2.1

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

func (*LoginRequest) GetPassword added in v0.2.1

func (m *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername added in v0.2.1

func (m *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage added in v0.2.1

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) Reset added in v0.2.1

func (m *LoginRequest) Reset()

func (*LoginRequest) String added in v0.2.1

func (m *LoginRequest) String() string

func (*LoginRequest) XXX_DiscardUnknown added in v0.2.1

func (m *LoginRequest) XXX_DiscardUnknown()

func (*LoginRequest) XXX_Marshal added in v0.2.1

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

func (*LoginRequest) XXX_Merge added in v0.2.1

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

func (*LoginRequest) XXX_Size added in v0.2.1

func (m *LoginRequest) XXX_Size() int

func (*LoginRequest) XXX_Unmarshal added in v0.2.1

func (m *LoginRequest) 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"`
}

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" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" db:"user_id"`
	// @inject_tag: db:"sequence"
	Sequence int64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty" db:"sequence"`
	// @inject_tag: db:"uuid"
	Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty" db:"uuid"`
	// @inject_tag: db:"sender"
	Sender int64 `protobuf:"varint,5,opt,name=sender,proto3" json:"sender,omitempty" db:"sender"`
	// @inject_tag: db:"sender_type"
	SenderType string `protobuf:"bytes,6,opt,name=sender_type,json=senderType,proto3" json:"sender_type,omitempty" db:"sender_type"`
	// @inject_tag: db:"receiver"
	Receiver int64 `protobuf:"varint,7,opt,name=receiver,proto3" json:"receiver,omitempty" db:"receiver"`
	// @inject_tag: db:"receiver_type"
	ReceiverType string `protobuf:"bytes,8,opt,name=receiver_type,json=receiverType,proto3" json:"receiver_type,omitempty" db:"receiver_type"`
	// @inject_tag: db:"type"
	Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty" db:"type"`
	// @inject_tag: db:"text"
	Text string `protobuf:"bytes,10,opt,name=text,proto3" json:"text,omitempty" db:"text"`
	// @inject_tag: db:"status"
	Status int32 `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty" db:"status"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

func (*Message) Descriptor added in v0.0.25

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

func (*Message) GetCreatedAt added in v0.0.25

func (m *Message) GetCreatedAt() int64

func (*Message) GetId added in v0.0.25

func (m *Message) GetId() int64

func (*Message) GetReceiver added in v0.2.1

func (m *Message) GetReceiver() int64

func (*Message) GetReceiverType added in v0.2.1

func (m *Message) GetReceiverType() string

func (*Message) GetSender added in v0.2.1

func (m *Message) GetSender() int64

func (*Message) GetSenderType added in v0.2.1

func (m *Message) GetSenderType() string

func (*Message) GetSequence added in v0.2.1

func (m *Message) GetSequence() int64

func (*Message) GetStatus added in v0.2.1

func (m *Message) GetStatus() int32

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

func (m *Message) GetUpdatedAt() int64

func (*Message) GetUserId added in v0.2.1

func (m *Message) GetUserId() int64

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"`
}

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"`
}

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMessageSvcClient added in v0.0.25

func NewMessageSvcClient(cc grpc.ClientConnInterface) MessageSvcClient

type MessageSvcServer added in v0.0.25

MessageSvcServer is the server API for MessageSvc service. All implementations should embed UnimplementedMessageSvcServer for forward compatibility

type MessagesReply added in v0.0.25

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

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)
	GetStats(ctx context.Context, in *TextRequest, opts ...grpc.CallOption) (*TextReply, error)
	ListSubscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*SubscribeReply, error)
	RegisterSubscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
	OpenSubscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
	CloseSubscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetSubscribeStatus(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*StateReply, error)
	ListCron(ctx context.Context, in *CronRequest, opts ...grpc.CallOption) (*CronReply, error)
	RegisterCron(ctx context.Context, in *CronRequest, opts ...grpc.CallOption) (*StateReply, error)
	StartCron(ctx context.Context, in *CronRequest, opts ...grpc.CallOption) (*StateReply, error)
	StopCron(ctx context.Context, in *CronRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetCronStatus(ctx context.Context, in *CronRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetOrCreateTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagReply, error)
	GetTags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagsReply, error)
	GetChartData(ctx context.Context, in *ChartDataRequest, opts ...grpc.CallOption) (*ChartDataReply, error)
	SetChartData(ctx context.Context, in *ChartDataRequest, opts ...grpc.CallOption) (*ChartDataReply, error)
	GetChartUrl(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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMiddleSvcClient added in v0.0.25

func NewMiddleSvcClient(cc grpc.ClientConnInterface) MiddleSvcClient

type MiddleSvcServer added in v0.0.25

type MiddleSvcServer interface {
	CreatePage(context.Context, *PageRequest) (*TextReply, error)
	GetPage(context.Context, *PageRequest) (*PageReply, error)
	GetQrUrl(context.Context, *TextRequest) (*TextReply, error)
	GetApps(context.Context, *TextRequest) (*AppsReply, error)
	GetAvailableApp(context.Context, *TextRequest) (*AppReply, error)
	StoreAppOAuth(context.Context, *AppRequest) (*StateReply, error)
	GetCredentials(context.Context, *TextRequest) (*CredentialsReply, error)
	GetMaskingCredentials(context.Context, *TextRequest) (*MaskingReply, error)
	GetCredential(context.Context, *CredentialRequest) (*CredentialReply, error)
	CreateCredential(context.Context, *KVsRequest) (*StateReply, error)
	GetSettings(context.Context, *TextRequest) (*SettingsReply, error)
	GetSetting(context.Context, *TextRequest) (*SettingReply, error)
	CreateSetting(context.Context, *KVRequest) (*StateReply, error)
	GetStats(context.Context, *TextRequest) (*TextReply, error)
	ListSubscribe(context.Context, *SubscribeRequest) (*SubscribeReply, error)
	RegisterSubscribe(context.Context, *SubscribeRequest) (*StateReply, error)
	OpenSubscribe(context.Context, *SubscribeRequest) (*StateReply, error)
	CloseSubscribe(context.Context, *SubscribeRequest) (*StateReply, error)
	GetSubscribeStatus(context.Context, *SubscribeRequest) (*StateReply, error)
	ListCron(context.Context, *CronRequest) (*CronReply, error)
	RegisterCron(context.Context, *CronRequest) (*StateReply, error)
	StartCron(context.Context, *CronRequest) (*StateReply, error)
	StopCron(context.Context, *CronRequest) (*StateReply, error)
	GetCronStatus(context.Context, *CronRequest) (*StateReply, error)
	GetOrCreateTag(context.Context, *TagRequest) (*TagReply, error)
	GetTags(context.Context, *TagRequest) (*TagsReply, error)
	GetChartData(context.Context, *ChartDataRequest) (*ChartDataReply, error)
	SetChartData(context.Context, *ChartDataRequest) (*ChartDataReply, error)
	GetChartUrl(context.Context, *TextRequest) (*TextReply, error)
}

MiddleSvcServer is the server API for MiddleSvc service. All implementations should embed UnimplementedMiddleSvcServer for forward compatibility

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewNLPSvcClient added in v0.0.25

func NewNLPSvcClient(cc grpc.ClientConnInterface) 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. All implementations should embed UnimplementedNLPSvcServer for forward compatibility

type Node added in v0.2.1

type Node struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// @inject_tag: db:"ip"
	Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// @inject_tag: db:"port"
	Port int64 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}

func (*Node) Descriptor added in v0.2.1

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

func (*Node) GetCreatedAt added in v0.2.1

func (m *Node) GetCreatedAt() int64

func (*Node) GetId added in v0.2.1

func (m *Node) GetId() int64

func (*Node) GetIp added in v0.2.1

func (m *Node) GetIp() string

func (*Node) GetPort added in v0.2.1

func (m *Node) GetPort() int64

func (*Node) GetUpdatedAt added in v0.2.1

func (m *Node) GetUpdatedAt() int64

func (*Node) ProtoMessage added in v0.2.1

func (*Node) ProtoMessage()

func (*Node) Reset added in v0.2.1

func (m *Node) Reset()

func (*Node) String added in v0.2.1

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown added in v0.2.1

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal added in v0.2.1

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

func (*Node) XXX_Merge added in v0.2.1

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

func (*Node) XXX_Size added in v0.2.1

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal added in v0.2.1

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

type Notification added in v0.2.1

type Notification struct {
	Tokens           []string              `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	Platform         int32                 `protobuf:"varint,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Message          string                `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Title            string                `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Topic            string                `protobuf:"bytes,5,opt,name=topic,proto3" json:"topic,omitempty"`
	Key              string                `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
	Badge            int32                 `protobuf:"varint,7,opt,name=badge,proto3" json:"badge,omitempty"`
	Category         string                `protobuf:"bytes,8,opt,name=category,proto3" json:"category,omitempty"`
	Alert            *Alert                `protobuf:"bytes,9,opt,name=alert,proto3" json:"alert,omitempty"`
	Sound            string                `protobuf:"bytes,10,opt,name=sound,proto3" json:"sound,omitempty"`
	ContentAvailable bool                  `protobuf:"varint,11,opt,name=content_available,json=contentAvailable,proto3" json:"content_available,omitempty"`
	ThreadId         string                `protobuf:"bytes,12,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	MutableContent   bool                  `protobuf:"varint,13,opt,name=mutable_content,json=mutableContent,proto3" json:"mutable_content,omitempty"`
	Image            string                `protobuf:"bytes,15,opt,name=image,proto3" json:"image,omitempty"`
	Priority         Notification_Priority `protobuf:"varint,16,opt,name=priority,proto3,enum=pb.Notification_Priority" json:"priority,omitempty"`
}

func (*Notification) Descriptor added in v0.2.1

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

func (*Notification) GetAlert added in v0.2.1

func (m *Notification) GetAlert() *Alert

func (*Notification) GetBadge added in v0.2.1

func (m *Notification) GetBadge() int32

func (*Notification) GetCategory added in v0.2.1

func (m *Notification) GetCategory() string

func (*Notification) GetContentAvailable added in v0.2.1

func (m *Notification) GetContentAvailable() bool

func (*Notification) GetImage added in v0.2.1

func (m *Notification) GetImage() string

func (*Notification) GetKey added in v0.2.1

func (m *Notification) GetKey() string

func (*Notification) GetMessage added in v0.2.1

func (m *Notification) GetMessage() string

func (*Notification) GetMutableContent added in v0.2.1

func (m *Notification) GetMutableContent() bool

func (*Notification) GetPlatform added in v0.2.1

func (m *Notification) GetPlatform() int32

func (*Notification) GetPriority added in v0.2.1

func (m *Notification) GetPriority() Notification_Priority

func (*Notification) GetSound added in v0.2.1

func (m *Notification) GetSound() string

func (*Notification) GetThreadId added in v0.2.1

func (m *Notification) GetThreadId() string

func (*Notification) GetTitle added in v0.2.1

func (m *Notification) GetTitle() string

func (*Notification) GetTokens added in v0.2.1

func (m *Notification) GetTokens() []string

func (*Notification) GetTopic added in v0.2.1

func (m *Notification) GetTopic() string

func (*Notification) ProtoMessage added in v0.2.1

func (*Notification) ProtoMessage()

func (*Notification) Reset added in v0.2.1

func (m *Notification) Reset()

func (*Notification) String added in v0.2.1

func (m *Notification) String() string

func (*Notification) XXX_DiscardUnknown added in v0.2.1

func (m *Notification) XXX_DiscardUnknown()

func (*Notification) XXX_Marshal added in v0.2.1

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

func (*Notification) XXX_Merge added in v0.2.1

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

func (*Notification) XXX_Size added in v0.2.1

func (m *Notification) XXX_Size() int

func (*Notification) XXX_Unmarshal added in v0.2.1

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

type Notification_Priority added in v0.2.1

type Notification_Priority int32
const (
	PRIORITY_UNSPECIFIED Notification_Priority = 0
	PRIORITY_NORMAL      Notification_Priority = 1
	PRIORITY_HIGH        Notification_Priority = 2
)

func (Notification_Priority) EnumDescriptor added in v0.2.1

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

func (Notification_Priority) String added in v0.2.1

func (x Notification_Priority) String() string

type Objective added in v0.1.1

type Objective struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" db:"user_id"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"tag_id"
	TagId int64 `protobuf:"varint,4,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty" db:"tag_id"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

func (*Objective) Descriptor added in v0.1.1

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

func (*Objective) GetCreatedAt added in v0.1.1

func (m *Objective) GetCreatedAt() int64

func (*Objective) GetId added in v0.1.1

func (m *Objective) GetId() int64

func (*Objective) GetName added in v0.1.1

func (m *Objective) GetName() string

func (*Objective) GetTagId added in v0.1.1

func (m *Objective) GetTagId() int64

func (*Objective) GetUpdatedAt added in v0.2.1

func (m *Objective) GetUpdatedAt() int64

func (*Objective) GetUserId added in v0.2.1

func (m *Objective) GetUserId() int64

func (*Objective) ProtoMessage added in v0.1.1

func (*Objective) ProtoMessage()

func (*Objective) Reset added in v0.1.1

func (m *Objective) Reset()

func (*Objective) String added in v0.1.1

func (m *Objective) String() string

func (*Objective) XXX_DiscardUnknown added in v0.1.1

func (m *Objective) XXX_DiscardUnknown()

func (*Objective) XXX_Marshal added in v0.1.1

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

func (*Objective) XXX_Merge added in v0.1.1

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

func (*Objective) XXX_Size added in v0.1.1

func (m *Objective) XXX_Size() int

func (*Objective) XXX_Unmarshal added in v0.1.1

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

type ObjectiveReply added in v0.1.1

type ObjectiveReply struct {
	Objective *Objective `protobuf:"bytes,1,opt,name=objective,proto3" json:"objective,omitempty"`
}

func (*ObjectiveReply) Descriptor added in v0.1.1

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

func (*ObjectiveReply) GetObjective added in v0.1.1

func (m *ObjectiveReply) GetObjective() *Objective

func (*ObjectiveReply) ProtoMessage added in v0.1.1

func (*ObjectiveReply) ProtoMessage()

func (*ObjectiveReply) Reset added in v0.1.1

func (m *ObjectiveReply) Reset()

func (*ObjectiveReply) String added in v0.1.1

func (m *ObjectiveReply) String() string

func (*ObjectiveReply) XXX_DiscardUnknown added in v0.1.1

func (m *ObjectiveReply) XXX_DiscardUnknown()

func (*ObjectiveReply) XXX_Marshal added in v0.1.1

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

func (*ObjectiveReply) XXX_Merge added in v0.1.1

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

func (*ObjectiveReply) XXX_Size added in v0.1.1

func (m *ObjectiveReply) XXX_Size() int

func (*ObjectiveReply) XXX_Unmarshal added in v0.1.1

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

type ObjectiveRequest added in v0.1.1

type ObjectiveRequest struct {
	Objective *Objective `protobuf:"bytes,1,opt,name=objective,proto3" json:"objective,omitempty"`
	Tag       string     `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
}

func (*ObjectiveRequest) Descriptor added in v0.1.1

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

func (*ObjectiveRequest) GetObjective added in v0.1.1

func (m *ObjectiveRequest) GetObjective() *Objective

func (*ObjectiveRequest) GetTag added in v0.2.1

func (m *ObjectiveRequest) GetTag() string

func (*ObjectiveRequest) ProtoMessage added in v0.1.1

func (*ObjectiveRequest) ProtoMessage()

func (*ObjectiveRequest) Reset added in v0.1.1

func (m *ObjectiveRequest) Reset()

func (*ObjectiveRequest) String added in v0.1.1

func (m *ObjectiveRequest) String() string

func (*ObjectiveRequest) XXX_DiscardUnknown added in v0.1.1

func (m *ObjectiveRequest) XXX_DiscardUnknown()

func (*ObjectiveRequest) XXX_Marshal added in v0.1.1

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

func (*ObjectiveRequest) XXX_Merge added in v0.1.1

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

func (*ObjectiveRequest) XXX_Size added in v0.1.1

func (m *ObjectiveRequest) XXX_Size() int

func (*ObjectiveRequest) XXX_Unmarshal added in v0.1.1

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

type ObjectivesReply added in v0.1.1

type ObjectivesReply struct {
	Objective []*Objective `protobuf:"bytes,1,rep,name=objective,proto3" json:"objective,omitempty"`
}

func (*ObjectivesReply) Descriptor added in v0.1.1

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

func (*ObjectivesReply) GetObjective added in v0.1.1

func (m *ObjectivesReply) GetObjective() []*Objective

func (*ObjectivesReply) ProtoMessage added in v0.1.1

func (*ObjectivesReply) ProtoMessage()

func (*ObjectivesReply) Reset added in v0.1.1

func (m *ObjectivesReply) Reset()

func (*ObjectivesReply) String added in v0.1.1

func (m *ObjectivesReply) String() string

func (*ObjectivesReply) XXX_DiscardUnknown added in v0.1.1

func (m *ObjectivesReply) XXX_DiscardUnknown()

func (*ObjectivesReply) XXX_Marshal added in v0.1.1

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

func (*ObjectivesReply) XXX_Merge added in v0.1.1

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

func (*ObjectivesReply) XXX_Size added in v0.1.1

func (m *ObjectivesReply) XXX_Size() int

func (*ObjectivesReply) XXX_Unmarshal added in v0.1.1

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

type OrgSvcClient added in v0.1.1

type OrgSvcClient interface {
	CreateObjective(ctx context.Context, in *ObjectiveRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetObjective(ctx context.Context, in *ObjectiveRequest, opts ...grpc.CallOption) (*ObjectiveReply, error)
	GetObjectives(ctx context.Context, in *ObjectiveRequest, opts ...grpc.CallOption) (*ObjectivesReply, error)
	DeleteObjective(ctx context.Context, in *ObjectiveRequest, opts ...grpc.CallOption) (*StateReply, error)
	CreateKeyResult(ctx context.Context, in *KeyResultRequest, opts ...grpc.CallOption) (*StateReply, error)
	GetKeyResult(ctx context.Context, in *KeyResultRequest, opts ...grpc.CallOption) (*KeyResultReply, error)
	GetKeyResults(ctx context.Context, in *KeyResultRequest, opts ...grpc.CallOption) (*KeyResultsReply, error)
	DeleteKeyResult(ctx context.Context, in *KeyResultRequest, opts ...grpc.CallOption) (*StateReply, error)
}

OrgSvcClient is the client API for OrgSvc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewOrgSvcClient added in v0.1.1

func NewOrgSvcClient(cc grpc.ClientConnInterface) OrgSvcClient

type OrgSvcServer added in v0.1.1

OrgSvcServer is the server API for OrgSvc service. All implementations should embed UnimplementedOrgSvcServer for forward compatibility

type Page added in v0.0.25

type Page struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @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 int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

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() int64

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

func (m *Page) GetUpdatedAt() int64

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"`
}

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"`
}

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=attr_points,json=attrPoints,proto3" json:"attr_points,omitempty"`
	Preconditions string `protobuf:"bytes,5,opt,name=preconditions,proto3" json:"preconditions,omitempty"`
	CreatedAt     string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
}

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" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,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 int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

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() int64

func (*Role) GetCulture added in v0.0.24

func (m *Role) GetCulture() int64

func (*Role) GetEnvironment added in v0.0.24

func (m *Role) GetEnvironment() int64

func (*Role) GetExp added in v0.0.24

func (m *Role) GetExp() int64

func (*Role) 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() int64

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"`
}

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"`
}

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"`
}

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"`
}

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"`
}

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 StockReply added in v0.1.1

type StockReply struct {
	Code                 string   `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	PriceChange          string   `protobuf:"bytes,4,opt,name=price_change,json=priceChange,proto3" json:"price_change,omitempty"`
	ChangePercent        string   `protobuf:"bytes,5,opt,name=change_percent,json=changePercent,proto3" json:"change_percent,omitempty"`
	Open                 string   `protobuf:"bytes,6,opt,name=open,proto3" json:"open,omitempty"`
	Close                string   `protobuf:"bytes,7,opt,name=close,proto3" json:"close,omitempty"`
	Price                string   `protobuf:"bytes,8,opt,name=price,proto3" json:"price,omitempty"`
	High                 string   `protobuf:"bytes,9,opt,name=high,proto3" json:"high,omitempty"`
	Low                  string   `protobuf:"bytes,10,opt,name=low,proto3" json:"low,omitempty"`
	Volume               string   `protobuf:"bytes,11,opt,name=volume,proto3" json:"volume,omitempty"`
	Turnover             string   `protobuf:"bytes,12,opt,name=turnover,proto3" json:"turnover,omitempty"`
	TurnoverRate         string   `protobuf:"bytes,13,opt,name=turnover_rate,json=turnoverRate,proto3" json:"turnover_rate,omitempty"`
	TotalWorth           string   `protobuf:"bytes,14,opt,name=total_worth,json=totalWorth,proto3" json:"total_worth,omitempty"`
	CirculationWorth     string   `protobuf:"bytes,15,opt,name=circulation_worth,json=circulationWorth,proto3" json:"circulation_worth,omitempty"`
	Date                 string   `protobuf:"bytes,16,opt,name=date,proto3" json:"date,omitempty"`
	Buy                  []string `protobuf:"bytes,17,rep,name=buy,proto3" json:"buy,omitempty"`
	Sell                 []string `protobuf:"bytes,18,rep,name=sell,proto3" json:"sell,omitempty"`
	Pb                   string   `protobuf:"bytes,19,opt,name=pb,proto3" json:"pb,omitempty"`
	Spe                  string   `protobuf:"bytes,20,opt,name=spe,proto3" json:"spe,omitempty"`
	Pe                   string   `protobuf:"bytes,21,opt,name=pe,proto3" json:"pe,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StockReply) Descriptor added in v0.1.1

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

func (*StockReply) GetBuy added in v0.1.1

func (m *StockReply) GetBuy() []string

func (*StockReply) GetChangePercent added in v0.1.1

func (m *StockReply) GetChangePercent() string

func (*StockReply) GetCirculationWorth added in v0.1.1

func (m *StockReply) GetCirculationWorth() string

func (*StockReply) GetClose added in v0.1.1

func (m *StockReply) GetClose() string

func (*StockReply) GetCode added in v0.1.1

func (m *StockReply) GetCode() string

func (*StockReply) GetDate added in v0.1.1

func (m *StockReply) GetDate() string

func (*StockReply) GetHigh added in v0.1.1

func (m *StockReply) GetHigh() string

func (*StockReply) GetLow added in v0.1.1

func (m *StockReply) GetLow() string

func (*StockReply) GetName added in v0.1.1

func (m *StockReply) GetName() string

func (*StockReply) GetOpen added in v0.1.1

func (m *StockReply) GetOpen() string

func (*StockReply) GetPb added in v0.1.1

func (m *StockReply) GetPb() string

func (*StockReply) GetPe added in v0.1.1

func (m *StockReply) GetPe() string

func (*StockReply) GetPrice added in v0.1.1

func (m *StockReply) GetPrice() string

func (*StockReply) GetPriceChange added in v0.1.1

func (m *StockReply) GetPriceChange() string

func (*StockReply) GetSell added in v0.1.1

func (m *StockReply) GetSell() []string

func (*StockReply) GetSpe added in v0.1.1

func (m *StockReply) GetSpe() string

func (*StockReply) GetTotalWorth added in v0.1.1

func (m *StockReply) GetTotalWorth() string

func (*StockReply) GetTurnover added in v0.1.1

func (m *StockReply) GetTurnover() string

func (*StockReply) GetTurnoverRate added in v0.1.1

func (m *StockReply) GetTurnoverRate() string

func (*StockReply) GetType added in v0.1.1

func (m *StockReply) GetType() string

func (*StockReply) GetVolume added in v0.1.1

func (m *StockReply) GetVolume() string

func (*StockReply) ProtoMessage added in v0.1.1

func (*StockReply) ProtoMessage()

func (*StockReply) Reset added in v0.1.1

func (m *StockReply) Reset()

func (*StockReply) String added in v0.1.1

func (m *StockReply) String() string

func (*StockReply) XXX_DiscardUnknown added in v0.1.1

func (m *StockReply) XXX_DiscardUnknown()

func (*StockReply) XXX_Marshal added in v0.1.1

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

func (*StockReply) XXX_Merge added in v0.1.1

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

func (*StockReply) XXX_Size added in v0.1.1

func (m *StockReply) XXX_Size() int

func (*StockReply) XXX_Unmarshal added in v0.1.1

func (m *StockReply) 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewStorageSvcClient added in v0.0.25

func NewStorageSvcClient(cc grpc.ClientConnInterface) StorageSvcClient

type StorageSvcServer added in v0.0.25

type StorageSvcServer interface {
	UploadFile(StorageSvc_UploadFileServer) error
}

StorageSvcServer is the server API for StorageSvc service. All implementations should embed UnimplementedStorageSvcServer for forward compatibility

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 Subscribe added in v0.1.1

type Subscribe struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	State bool   `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
}

func (*Subscribe) Descriptor added in v0.1.1

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

func (*Subscribe) GetName added in v0.1.1

func (m *Subscribe) GetName() string

func (*Subscribe) GetState added in v0.1.1

func (m *Subscribe) GetState() bool

func (*Subscribe) ProtoMessage added in v0.1.1

func (*Subscribe) ProtoMessage()

func (*Subscribe) Reset added in v0.1.1

func (m *Subscribe) Reset()

func (*Subscribe) String added in v0.1.1

func (m *Subscribe) String() string

func (*Subscribe) XXX_DiscardUnknown added in v0.1.1

func (m *Subscribe) XXX_DiscardUnknown()

func (*Subscribe) XXX_Marshal added in v0.1.1

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

func (*Subscribe) XXX_Merge added in v0.1.1

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

func (*Subscribe) XXX_Size added in v0.1.1

func (m *Subscribe) XXX_Size() int

func (*Subscribe) XXX_Unmarshal added in v0.1.1

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

type SubscribeReply

type SubscribeReply struct {
	Subscribe []*Subscribe `protobuf:"bytes,1,rep,name=subscribe,proto3" json:"subscribe,omitempty"`
}

func (*SubscribeReply) Descriptor

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

func (*SubscribeReply) GetSubscribe added in v0.1.1

func (m *SubscribeReply) GetSubscribe() []*Subscribe

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"`
}

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 Tag added in v0.1.1

type Tag struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"name"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" db:"name"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

func (*Tag) Descriptor added in v0.1.1

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

func (*Tag) GetCreatedAt added in v0.1.1

func (m *Tag) GetCreatedAt() int64

func (*Tag) GetId added in v0.1.1

func (m *Tag) GetId() int64

func (*Tag) GetName added in v0.1.1

func (m *Tag) GetName() string

func (*Tag) GetUpdatedAt added in v0.2.1

func (m *Tag) GetUpdatedAt() int64

func (*Tag) ProtoMessage added in v0.1.1

func (*Tag) ProtoMessage()

func (*Tag) Reset added in v0.1.1

func (m *Tag) Reset()

func (*Tag) String added in v0.1.1

func (m *Tag) String() string

func (*Tag) XXX_DiscardUnknown added in v0.1.1

func (m *Tag) XXX_DiscardUnknown()

func (*Tag) XXX_Marshal added in v0.1.1

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

func (*Tag) XXX_Merge added in v0.1.1

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

func (*Tag) XXX_Size added in v0.1.1

func (m *Tag) XXX_Size() int

func (*Tag) XXX_Unmarshal added in v0.1.1

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

type TagReply added in v0.1.1

type TagReply struct {
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
}

func (*TagReply) Descriptor added in v0.1.1

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

func (*TagReply) GetTag added in v0.1.1

func (m *TagReply) GetTag() *Tag

func (*TagReply) ProtoMessage added in v0.1.1

func (*TagReply) ProtoMessage()

func (*TagReply) Reset added in v0.1.1

func (m *TagReply) Reset()

func (*TagReply) String added in v0.1.1

func (m *TagReply) String() string

func (*TagReply) XXX_DiscardUnknown added in v0.1.1

func (m *TagReply) XXX_DiscardUnknown()

func (*TagReply) XXX_Marshal added in v0.1.1

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

func (*TagReply) XXX_Merge added in v0.1.1

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

func (*TagReply) XXX_Size added in v0.1.1

func (m *TagReply) XXX_Size() int

func (*TagReply) XXX_Unmarshal added in v0.1.1

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

type TagRequest added in v0.1.1

type TagRequest struct {
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
}

func (*TagRequest) Descriptor added in v0.1.1

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

func (*TagRequest) GetTag added in v0.1.1

func (m *TagRequest) GetTag() *Tag

func (*TagRequest) ProtoMessage added in v0.1.1

func (*TagRequest) ProtoMessage()

func (*TagRequest) Reset added in v0.1.1

func (m *TagRequest) Reset()

func (*TagRequest) String added in v0.1.1

func (m *TagRequest) String() string

func (*TagRequest) XXX_DiscardUnknown added in v0.1.1

func (m *TagRequest) XXX_DiscardUnknown()

func (*TagRequest) XXX_Marshal added in v0.1.1

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

func (*TagRequest) XXX_Merge added in v0.1.1

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

func (*TagRequest) XXX_Size added in v0.1.1

func (m *TagRequest) XXX_Size() int

func (*TagRequest) XXX_Unmarshal added in v0.1.1

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

type TagsReply added in v0.1.1

type TagsReply struct {
	Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
}

func (*TagsReply) Descriptor added in v0.1.1

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

func (*TagsReply) GetTags added in v0.1.1

func (m *TagsReply) GetTags() []*Tag

func (*TagsReply) ProtoMessage added in v0.1.1

func (*TagsReply) ProtoMessage()

func (*TagsReply) Reset added in v0.1.1

func (m *TagsReply) Reset()

func (*TagsReply) String added in v0.1.1

func (m *TagsReply) String() string

func (*TagsReply) XXX_DiscardUnknown added in v0.1.1

func (m *TagsReply) XXX_DiscardUnknown()

func (*TagsReply) XXX_Marshal added in v0.1.1

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

func (*TagsReply) XXX_Merge added in v0.1.1

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

func (*TagsReply) XXX_Size added in v0.1.1

func (m *TagsReply) XXX_Size() int

func (*TagsReply) XXX_Unmarshal added in v0.1.1

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

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTaskSvcClient added in v0.0.25

func NewTaskSvcClient(cc grpc.ClientConnInterface) 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. All implementations should embed UnimplementedTaskSvcServer for forward compatibility

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" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"user_id"
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" db:"user_id"`
	// @inject_tag: db:"content"
	Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty" db:"content"`
	// @inject_tag: db:"category"
	Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty" db:"category"`
	// @inject_tag: db:"remark"
	Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty" db:"remark"`
	// @inject_tag: db:"priority"
	Priority int64 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty" db:"priority"`
	// @inject_tag: db:"is_remind_at_time"
	IsRemindAtTime bool `` /* 131-byte string literal not displayed */
	// @inject_tag: db:"remind_at"
	RemindAt int64 `protobuf:"varint,8,opt,name=remind_at,json=remindAt,proto3" json:"remind_at,omitempty" db:"remind_at"`
	// @inject_tag: db:"repeat_method"
	RepeatMethod string `protobuf:"bytes,9,opt,name=repeat_method,json=repeatMethod,proto3" json:"repeat_method,omitempty" db:"repeat_method"`
	// @inject_tag: db:"repeat_rule"
	RepeatRule string `protobuf:"bytes,10,opt,name=repeat_rule,json=repeatRule,proto3" json:"repeat_rule,omitempty" db:"repeat_rule"`
	// @inject_tag: db:"repeat_end_at"
	RepeatEndAt int64 `protobuf:"varint,11,opt,name=repeat_end_at,json=repeatEndAt,proto3" json:"repeat_end_at,omitempty" db:"repeat_end_at"`
	// @inject_tag: db:"complete"
	Complete bool `protobuf:"varint,12,opt,name=complete,proto3" json:"complete,omitempty" db:"complete"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
}

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() int64

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() int64

func (*Todo) GetRepeatEndAt added in v0.0.25

func (m *Todo) GetRepeatEndAt() int64

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() int64

func (*Todo) GetUserId added in v0.2.1

func (m *Todo) GetUserId() int64

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"`
}

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"`
}

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTodoSvcClient added in v0.0.25

func NewTodoSvcClient(cc grpc.ClientConnInterface) 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. All implementations should embed UnimplementedTodoSvcServer for forward compatibility

type TodosReply added in v0.0.24

type TodosReply struct {
	Todos []*Todo `protobuf:"bytes,1,rep,name=todos,proto3" json:"todos,omitempty"`
}

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" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @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=message_id,json=messageId,proto3" json:"message_id,omitempty" db:"message_id"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
}

func (*Trigger) Descriptor added in v0.0.25

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

func (*Trigger) GetCreatedAt added in v0.0.25

func (m *Trigger) GetCreatedAt() int64

func (*Trigger) GetFlag added in v0.0.25

func (m *Trigger) GetFlag() 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) 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 TriggerInfo added in v0.2.1

type TriggerInfo struct {
	MessageText string `protobuf:"bytes,9,opt,name=message_text,json=messageText,proto3" json:"message_text,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"`
}

func (*TriggerInfo) Descriptor added in v0.2.1

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

func (*TriggerInfo) GetBody added in v0.2.1

func (m *TriggerInfo) GetBody() string

func (*TriggerInfo) GetHeader added in v0.2.1

func (m *TriggerInfo) GetHeader() string

func (*TriggerInfo) GetMessageText added in v0.2.1

func (m *TriggerInfo) GetMessageText() string

func (*TriggerInfo) ProtoMessage added in v0.2.1

func (*TriggerInfo) ProtoMessage()

func (*TriggerInfo) Reset added in v0.2.1

func (m *TriggerInfo) Reset()

func (*TriggerInfo) String added in v0.2.1

func (m *TriggerInfo) String() string

func (*TriggerInfo) XXX_DiscardUnknown added in v0.2.1

func (m *TriggerInfo) XXX_DiscardUnknown()

func (*TriggerInfo) XXX_Marshal added in v0.2.1

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

func (*TriggerInfo) XXX_Merge added in v0.2.1

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

func (*TriggerInfo) XXX_Size added in v0.2.1

func (m *TriggerInfo) XXX_Size() int

func (*TriggerInfo) XXX_Unmarshal added in v0.2.1

func (m *TriggerInfo) 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"`
	Info    *TriggerInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
}

func (*TriggerRequest) Descriptor added in v0.0.18

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

func (*TriggerRequest) GetInfo added in v0.2.1

func (m *TriggerRequest) GetInfo() *TriggerInfo

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 should be embedded to have forward compatible implementations.

func (UnimplementedChatbotSvcServer) CreateGroup added in v0.2.1

func (UnimplementedChatbotSvcServer) CreateGroupBot added in v0.2.1

func (UnimplementedChatbotSvcServer) DeleteGroup added in v0.2.1

func (UnimplementedChatbotSvcServer) DeleteGroupBot added in v0.2.1

func (UnimplementedChatbotSvcServer) GetBot added in v0.2.1

func (UnimplementedChatbotSvcServer) GetBots added in v0.2.1

func (UnimplementedChatbotSvcServer) GetGroup added in v0.2.1

func (UnimplementedChatbotSvcServer) GetGroupBotSetting added in v0.2.1

func (UnimplementedChatbotSvcServer) GetGroupSetting added in v0.2.1

func (UnimplementedChatbotSvcServer) GetGroups added in v0.2.1

func (UnimplementedChatbotSvcServer) Handle added in v0.0.25

func (UnimplementedChatbotSvcServer) Register added in v0.2.1

func (UnimplementedChatbotSvcServer) UpdateGroup added in v0.2.1

func (UnimplementedChatbotSvcServer) UpdateGroupBotSetting added in v0.2.1

func (UnimplementedChatbotSvcServer) UpdateGroupSetting added in v0.2.1

type UnimplementedFinanceSvcServer added in v0.0.25

type UnimplementedFinanceSvcServer struct {
}

UnimplementedFinanceSvcServer should 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

func (UnimplementedFinanceSvcServer) GetFund added in v0.1.1

func (UnimplementedFinanceSvcServer) GetStock added in v0.1.1

type UnimplementedIdSvcServer added in v0.2.1

type UnimplementedIdSvcServer struct {
}

UnimplementedIdSvcServer should be embedded to have forward compatible implementations.

func (UnimplementedIdSvcServer) GetGlobalId added in v0.2.1

type UnimplementedMessageSvcServer added in v0.0.25

type UnimplementedMessageSvcServer struct {
}

UnimplementedMessageSvcServer should 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) Delete added in v0.0.25

func (UnimplementedMessageSvcServer) DeleteWorkflowMessage added in v0.0.25

func (UnimplementedMessageSvcServer) Get added in v0.0.25

func (UnimplementedMessageSvcServer) GetActionMessages added in v0.0.25

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 should be embedded to have forward compatible implementations.

func (UnimplementedMiddleSvcServer) CloseSubscribe added in v0.1.1

func (UnimplementedMiddleSvcServer) CreateCredential added in v0.0.25

func (UnimplementedMiddleSvcServer) CreatePage added in v0.0.25

func (UnimplementedMiddleSvcServer) CreateSetting added in v0.0.25

func (UnimplementedMiddleSvcServer) GetApps added in v0.0.25

func (UnimplementedMiddleSvcServer) GetAvailableApp added in v0.0.25

func (UnimplementedMiddleSvcServer) GetChartData added in v0.1.1

func (UnimplementedMiddleSvcServer) GetChartUrl added in v0.1.1

func (UnimplementedMiddleSvcServer) GetCredential added in v0.0.25

func (UnimplementedMiddleSvcServer) GetCredentials added in v0.0.25

func (UnimplementedMiddleSvcServer) GetCronStatus added in v0.1.1

func (UnimplementedMiddleSvcServer) GetMaskingCredentials added in v0.0.25

func (UnimplementedMiddleSvcServer) GetOrCreateTag added in v0.1.1

func (UnimplementedMiddleSvcServer) GetPage added in v0.0.25

func (UnimplementedMiddleSvcServer) GetQrUrl added in v0.0.25

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) GetSubscribeStatus added in v0.1.1

func (UnimplementedMiddleSvcServer) GetTags added in v0.1.1

func (UnimplementedMiddleSvcServer) ListCron added in v0.1.1

func (UnimplementedMiddleSvcServer) ListSubscribe added in v0.1.1

func (UnimplementedMiddleSvcServer) OpenSubscribe added in v0.1.1

func (UnimplementedMiddleSvcServer) RegisterCron added in v0.1.1

func (UnimplementedMiddleSvcServer) RegisterSubscribe added in v0.1.1

func (UnimplementedMiddleSvcServer) SetChartData added in v0.1.1

func (UnimplementedMiddleSvcServer) StartCron added in v0.1.1

func (UnimplementedMiddleSvcServer) StopCron added in v0.1.1

func (UnimplementedMiddleSvcServer) StoreAppOAuth added in v0.0.25

type UnimplementedNLPSvcServer added in v0.0.25

type UnimplementedNLPSvcServer struct {
}

UnimplementedNLPSvcServer should 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 UnimplementedOrgSvcServer added in v0.1.1

type UnimplementedOrgSvcServer struct {
}

UnimplementedOrgSvcServer should be embedded to have forward compatible implementations.

func (UnimplementedOrgSvcServer) CreateKeyResult added in v0.1.1

func (UnimplementedOrgSvcServer) CreateObjective added in v0.1.1

func (UnimplementedOrgSvcServer) DeleteKeyResult added in v0.1.1

func (UnimplementedOrgSvcServer) DeleteObjective added in v0.1.1

func (UnimplementedOrgSvcServer) GetKeyResult added in v0.1.1

func (UnimplementedOrgSvcServer) GetKeyResults added in v0.1.1

func (UnimplementedOrgSvcServer) GetObjective added in v0.1.1

func (UnimplementedOrgSvcServer) GetObjectives added in v0.1.1

type UnimplementedStorageSvcServer added in v0.0.25

type UnimplementedStorageSvcServer struct {
}

UnimplementedStorageSvcServer should be embedded to have forward compatible implementations.

func (UnimplementedStorageSvcServer) UploadFile added in v0.0.25

type UnimplementedTaskSvcServer added in v0.0.25

type UnimplementedTaskSvcServer struct {
}

UnimplementedTaskSvcServer should 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 should 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) 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 should be embedded to have forward compatible implementations.

func (UnimplementedUserSvcServer) Authorization added in v0.0.25

func (UnimplementedUserSvcServer) BindDevice added in v0.2.1

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

func (UnimplementedUserSvcServer) Login added in v0.2.1

func (UnimplementedUserSvcServer) UpdateUser added in v0.0.25

type UnimplementedWorkflowSvcServer added in v0.0.25

type UnimplementedWorkflowSvcServer struct {
}

UnimplementedWorkflowSvcServer should 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) ListWebhook added in v0.1.1

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 UnsafeChatbotSvcServer added in v0.2.1

type UnsafeChatbotSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeChatbotSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChatbotSvcServer will result in compilation errors.

type UnsafeFinanceSvcServer added in v0.2.1

type UnsafeFinanceSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeFinanceSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FinanceSvcServer will result in compilation errors.

type UnsafeIdSvcServer added in v0.2.1

type UnsafeIdSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeIdSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdSvcServer will result in compilation errors.

type UnsafeMessageSvcServer added in v0.2.1

type UnsafeMessageSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeMessageSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessageSvcServer will result in compilation errors.

type UnsafeMiddleSvcServer added in v0.2.1

type UnsafeMiddleSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeMiddleSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MiddleSvcServer will result in compilation errors.

type UnsafeNLPSvcServer added in v0.2.1

type UnsafeNLPSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeNLPSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NLPSvcServer will result in compilation errors.

type UnsafeOrgSvcServer added in v0.2.1

type UnsafeOrgSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeOrgSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrgSvcServer will result in compilation errors.

type UnsafeStorageSvcServer added in v0.2.1

type UnsafeStorageSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeStorageSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageSvcServer will result in compilation errors.

type UnsafeTaskSvcServer added in v0.2.1

type UnsafeTaskSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeTaskSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TaskSvcServer will result in compilation errors.

type UnsafeTodoSvcServer added in v0.2.1

type UnsafeTodoSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeTodoSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TodoSvcServer will result in compilation errors.

type UnsafeUserSvcServer added in v0.2.1

type UnsafeUserSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeUserSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserSvcServer will result in compilation errors.

type UnsafeWorkflowSvcServer added in v0.2.1

type UnsafeWorkflowSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeWorkflowSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkflowSvcServer will result in compilation errors.

type User added in v0.0.25

type User struct {
	// @inject_tag: db:"id" gorm:"primaryKey"
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" db:"id" gorm:"primaryKey"`
	// @inject_tag: db:"username"
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty" db:"username"`
	// @inject_tag: db:"password"
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty" db:"password"`
	// @inject_tag: db:"name"
	Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty" db:"name"`
	// @inject_tag: db:"mobile"
	Mobile string `protobuf:"bytes,5,opt,name=mobile,proto3" json:"mobile,omitempty" db:"mobile"`
	// @inject_tag: db:"remark"
	Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty" db:"remark"`
	// @inject_tag: db:"created_at"
	CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" db:"created_at"`
	// @inject_tag: db:"updated_at"
	UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" db:"updated_at"`
	// @inject_tag: db:"role"
	Role *Role `protobuf:"bytes,9,opt,name=role,proto3" json:"role,omitempty" db:"role"`
}

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() int64

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) GetNickname added in v0.2.1

func (m *User) GetNickname() string

func (*User) GetPassword added in v0.2.1

func (m *User) GetPassword() string

func (*User) GetRemark added in v0.0.25

func (m *User) GetRemark() string

func (*User) GetRole added in v0.2.1

func (m *User) GetRole() *Role

func (*User) GetUpdatedAt added in v0.0.25

func (m *User) GetUpdatedAt() int64

func (*User) GetUsername added in v0.2.1

func (m *User) GetUsername() 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"`
}

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"`
}

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 {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*AuthReply, error)
	GetAuthToken(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthReply, error)
	Authorization(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthReply, error)
	GetRole(ctx context.Context, in *RoleRequest, opts ...grpc.CallOption) (*RoleReply, error)
	GetRoleImage(ctx context.Context, in *RoleRequest, opts ...grpc.CallOption) (*BytesReply, 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)
	BindDevice(ctx context.Context, in *DeviceRequest, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUserSvcClient added in v0.0.25

func NewUserSvcClient(cc grpc.ClientConnInterface) UserSvcClient

type UserSvcServer added in v0.0.25

UserSvcServer is the server API for UserSvc service. All implementations should embed UnimplementedUserSvcServer for forward compatibility

type UsersReply added in v0.0.25

type UsersReply struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
}

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 WebhooksReply added in v0.1.1

type WebhooksReply struct {
	Flag []string `protobuf:"bytes,1,rep,name=flag,proto3" json:"flag,omitempty"`
}

func (*WebhooksReply) Descriptor added in v0.1.1

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

func (*WebhooksReply) GetFlag added in v0.1.1

func (m *WebhooksReply) GetFlag() []string

func (*WebhooksReply) ProtoMessage added in v0.1.1

func (*WebhooksReply) ProtoMessage()

func (*WebhooksReply) Reset added in v0.1.1

func (m *WebhooksReply) Reset()

func (*WebhooksReply) String added in v0.1.1

func (m *WebhooksReply) String() string

func (*WebhooksReply) XXX_DiscardUnknown added in v0.1.1

func (m *WebhooksReply) XXX_DiscardUnknown()

func (*WebhooksReply) XXX_Marshal added in v0.1.1

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

func (*WebhooksReply) XXX_Merge added in v0.1.1

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

func (*WebhooksReply) XXX_Size added in v0.1.1

func (m *WebhooksReply) XXX_Size() int

func (*WebhooksReply) XXX_Unmarshal added in v0.1.1

func (m *WebhooksReply) 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"`
}

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"`
}

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)
	ListWebhook(ctx context.Context, in *WorkflowRequest, opts ...grpc.CallOption) (*WebhooksReply, error)
}

WorkflowSvcClient is the client API for WorkflowSvc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewWorkflowSvcClient added in v0.0.25

func NewWorkflowSvcClient(cc grpc.ClientConnInterface) WorkflowSvcClient

type WorkflowSvcServer added in v0.0.25

WorkflowSvcServer is the server API for WorkflowSvc service. All implementations should embed UnimplementedWorkflowSvcServer for forward compatibility

Jump to

Keyboard shortcuts

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