Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)
- func RegisterTLSServiceServer(s grpc.ServiceRegistrar, srv TLSServiceServer)
- type Email
- type EnvoyPolicy
- func (*EnvoyPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *EnvoyPolicy) GetOfflineAlert() bool
- func (x *EnvoyPolicy) GetPolicyContent() *EnvoyPolicyContent
- func (x *EnvoyPolicy) GetPolicyID() string
- func (x *EnvoyPolicy) GetPolicyType() int32
- func (x *EnvoyPolicy) GetSensitive() int32
- func (*EnvoyPolicy) ProtoMessage()
- func (x *EnvoyPolicy) ProtoReflect() protoreflect.Message
- func (x *EnvoyPolicy) Reset()
- func (x *EnvoyPolicy) String() string
- type EnvoyPolicyContent
- func (*EnvoyPolicyContent) Descriptor() ([]byte, []int)deprecated
- func (m *EnvoyPolicyContent) GetContent() isEnvoyPolicyContent_Content
- func (x *EnvoyPolicyContent) GetEmail() *Email
- func (x *EnvoyPolicyContent) GetGotify() *Gotify
- func (x *EnvoyPolicyContent) GetTelegram() *Telegram
- func (x *EnvoyPolicyContent) GetWebhook() *Webhook
- func (*EnvoyPolicyContent) ProtoMessage()
- func (x *EnvoyPolicyContent) ProtoReflect() protoreflect.Message
- func (x *EnvoyPolicyContent) Reset()
- func (x *EnvoyPolicyContent) String() string
- type EnvoyPolicyContent_Email
- type EnvoyPolicyContent_Gotify
- type EnvoyPolicyContent_Telegram
- type EnvoyPolicyContent_Webhook
- type EnvoyTelegramLink
- type Gotify
- type NewEmail
- type NewPassword
- type ProfileServiceClient
- type ProfileServiceServer
- type Sensitive
- type TLS
- func (*TLS) Descriptor() ([]byte, []int)deprecated
- func (x *TLS) GetId() string
- func (x *TLS) GetInsecure() bool
- func (x *TLS) GetName() string
- func (x *TLS) GetTlsCA() string
- func (x *TLS) GetTlsCert() string
- func (x *TLS) GetTlsKey() string
- func (x *TLS) GetTlsKeyPwd() string
- func (x *TLS) GetTlsMinVersion() string
- func (x *TLS) GetUserId() string
- func (*TLS) ProtoMessage()
- func (x *TLS) ProtoReflect() protoreflect.Message
- func (x *TLS) Reset()
- func (x *TLS) String() string
- type TLSList
- type TLSServiceClient
- type TLSServiceServer
- type Telegram
- type UnimplementedProfileServiceServer
- func (UnimplementedProfileServiceServer) ChangeEmail(context.Context, *NewEmail) (*emptypb.Empty, error)
- func (UnimplementedProfileServiceServer) ChangePassword(context.Context, *NewPassword) (*emptypb.Empty, error)
- func (UnimplementedProfileServiceServer) ChangeSensitive(context.Context, *Sensitive) (*emptypb.Empty, error)
- func (UnimplementedProfileServiceServer) CreateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
- func (UnimplementedProfileServiceServer) DeleteEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
- func (UnimplementedProfileServiceServer) GetEnvoyTelegramLink(context.Context, *emptypb.Empty) (*EnvoyTelegramLink, error)
- func (UnimplementedProfileServiceServer) GetUserLoginLogs(context.Context, *emptypb.Empty) (*UserLoginLogs, error)
- func (UnimplementedProfileServiceServer) GetUserProfile(context.Context, *emptypb.Empty) (*UserProfile, error)
- func (UnimplementedProfileServiceServer) UpdateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
- type UnimplementedTLSServiceServer
- func (UnimplementedTLSServiceServer) CreateTLS(context.Context, *TLS) (*TLS, error)
- func (UnimplementedTLSServiceServer) DeleteTLS(context.Context, *public.PrimitiveID) (*emptypb.Empty, error)
- func (UnimplementedTLSServiceServer) GetUserTLS(context.Context, *emptypb.Empty) (*TLSList, error)
- func (UnimplementedTLSServiceServer) UpdateTLS(context.Context, *TLS) (*TLS, error)
- type UnsafeProfileServiceServer
- type UnsafeTLSServiceServer
- type UserLoginLog
- func (*UserLoginLog) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginLog) GetDeticeType() string
- func (x *UserLoginLog) GetDevice() string
- func (x *UserLoginLog) GetLocation() string
- func (x *UserLoginLog) GetLoginTime() string
- func (*UserLoginLog) ProtoMessage()
- func (x *UserLoginLog) ProtoReflect() protoreflect.Message
- func (x *UserLoginLog) Reset()
- func (x *UserLoginLog) String() string
- type UserLoginLogs
- type UserProfile
- func (*UserProfile) Descriptor() ([]byte, []int)deprecated
- func (x *UserProfile) GetAvatar() []byte
- func (x *UserProfile) GetCreatedAt() string
- func (x *UserProfile) GetEmail() string
- func (x *UserProfile) GetLevel() uint32
- func (x *UserProfile) GetPolicies() []*EnvoyPolicy
- func (*UserProfile) ProtoMessage()
- func (x *UserProfile) ProtoReflect() protoreflect.Message
- func (x *UserProfile) Reset()
- func (x *UserProfile) String() string
- type Webhook
Constants ¶
const ( ProfileService_GetUserProfile_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/GetUserProfile" ProfileService_ChangePassword_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/ChangePassword" ProfileService_ChangeEmail_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/ChangeEmail" ProfileService_ChangeSensitive_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/ChangeSensitive" ProfileService_CreateEnvoyPolicy_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/CreateEnvoyPolicy" ProfileService_UpdateEnvoyPolicy_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/UpdateEnvoyPolicy" ProfileService_DeleteEnvoyPolicy_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/DeleteEnvoyPolicy" ProfileService_GetEnvoyTelegramLink_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/GetEnvoyTelegramLink" ProfileService_GetUserLoginLogs_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/GetUserLoginLogs" )
const ( TLSService_GetUserTLS_FullMethodName = "/bellis.backend.mobile.profile.TLSService/GetUserTLS" TLSService_CreateTLS_FullMethodName = "/bellis.backend.mobile.profile.TLSService/CreateTLS" TLSService_UpdateTLS_FullMethodName = "/bellis.backend.mobile.profile.TLSService/UpdateTLS" TLSService_DeleteTLS_FullMethodName = "/bellis.backend.mobile.profile.TLSService/DeleteTLS" )
Variables ¶
var File_profile_profile_proto protoreflect.FileDescriptor
var File_profile_tls_proto protoreflect.FileDescriptor
var ProfileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bellis.backend.mobile.profile.ProfileService", HandlerType: (*ProfileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserProfile", Handler: _ProfileService_GetUserProfile_Handler, }, { MethodName: "ChangePassword", Handler: _ProfileService_ChangePassword_Handler, }, { MethodName: "ChangeEmail", Handler: _ProfileService_ChangeEmail_Handler, }, { MethodName: "ChangeSensitive", Handler: _ProfileService_ChangeSensitive_Handler, }, { MethodName: "CreateEnvoyPolicy", Handler: _ProfileService_CreateEnvoyPolicy_Handler, }, { MethodName: "UpdateEnvoyPolicy", Handler: _ProfileService_UpdateEnvoyPolicy_Handler, }, { MethodName: "DeleteEnvoyPolicy", Handler: _ProfileService_DeleteEnvoyPolicy_Handler, }, { MethodName: "GetEnvoyTelegramLink", Handler: _ProfileService_GetEnvoyTelegramLink_Handler, }, { MethodName: "GetUserLoginLogs", Handler: _ProfileService_GetUserLoginLogs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "profile/profile.proto", }
ProfileService_ServiceDesc is the grpc.ServiceDesc for ProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TLSService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bellis.backend.mobile.profile.TLSService", HandlerType: (*TLSServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserTLS", Handler: _TLSService_GetUserTLS_Handler, }, { MethodName: "CreateTLS", Handler: _TLSService_CreateTLS_Handler, }, { MethodName: "UpdateTLS", Handler: _TLSService_UpdateTLS_Handler, }, { MethodName: "DeleteTLS", Handler: _TLSService_DeleteTLS_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "profile/tls.proto", }
TLSService_ServiceDesc is the grpc.ServiceDesc for TLSService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProfileServiceServer ¶
func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)
func RegisterTLSServiceServer ¶
func RegisterTLSServiceServer(s grpc.ServiceRegistrar, srv TLSServiceServer)
Types ¶
type Email ¶
type Email struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Email) Descriptor
deprecated
func (*Email) GetAddress ¶
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
func (*Email) ProtoReflect ¶
func (x *Email) ProtoReflect() protoreflect.Message
type EnvoyPolicy ¶
type EnvoyPolicy struct { PolicyID string `protobuf:"bytes,1,opt,name=policyID,proto3" json:"policyID,omitempty"` PolicyType int32 `protobuf:"varint,2,opt,name=policyType,proto3" json:"policyType,omitempty"` Sensitive int32 `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"` OfflineAlert bool `protobuf:"varint,4,opt,name=offlineAlert,proto3" json:"offlineAlert,omitempty"` PolicyContent *EnvoyPolicyContent `protobuf:"bytes,5,opt,name=policyContent,proto3" json:"policyContent,omitempty"` // contains filtered or unexported fields }
func (*EnvoyPolicy) Descriptor
deprecated
func (*EnvoyPolicy) Descriptor() ([]byte, []int)
Deprecated: Use EnvoyPolicy.ProtoReflect.Descriptor instead.
func (*EnvoyPolicy) GetOfflineAlert ¶
func (x *EnvoyPolicy) GetOfflineAlert() bool
func (*EnvoyPolicy) GetPolicyContent ¶
func (x *EnvoyPolicy) GetPolicyContent() *EnvoyPolicyContent
func (*EnvoyPolicy) GetPolicyID ¶
func (x *EnvoyPolicy) GetPolicyID() string
func (*EnvoyPolicy) GetPolicyType ¶
func (x *EnvoyPolicy) GetPolicyType() int32
func (*EnvoyPolicy) GetSensitive ¶
func (x *EnvoyPolicy) GetSensitive() int32
func (*EnvoyPolicy) ProtoMessage ¶
func (*EnvoyPolicy) ProtoMessage()
func (*EnvoyPolicy) ProtoReflect ¶
func (x *EnvoyPolicy) ProtoReflect() protoreflect.Message
func (*EnvoyPolicy) Reset ¶
func (x *EnvoyPolicy) Reset()
func (*EnvoyPolicy) String ¶
func (x *EnvoyPolicy) String() string
type EnvoyPolicyContent ¶
type EnvoyPolicyContent struct { // Types that are assignable to Content: // // *EnvoyPolicyContent_Gotify // *EnvoyPolicyContent_Email // *EnvoyPolicyContent_Webhook // *EnvoyPolicyContent_Telegram Content isEnvoyPolicyContent_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*EnvoyPolicyContent) Descriptor
deprecated
func (*EnvoyPolicyContent) Descriptor() ([]byte, []int)
Deprecated: Use EnvoyPolicyContent.ProtoReflect.Descriptor instead.
func (*EnvoyPolicyContent) GetContent ¶
func (m *EnvoyPolicyContent) GetContent() isEnvoyPolicyContent_Content
func (*EnvoyPolicyContent) GetEmail ¶
func (x *EnvoyPolicyContent) GetEmail() *Email
func (*EnvoyPolicyContent) GetGotify ¶
func (x *EnvoyPolicyContent) GetGotify() *Gotify
func (*EnvoyPolicyContent) GetTelegram ¶
func (x *EnvoyPolicyContent) GetTelegram() *Telegram
func (*EnvoyPolicyContent) GetWebhook ¶
func (x *EnvoyPolicyContent) GetWebhook() *Webhook
func (*EnvoyPolicyContent) ProtoMessage ¶
func (*EnvoyPolicyContent) ProtoMessage()
func (*EnvoyPolicyContent) ProtoReflect ¶
func (x *EnvoyPolicyContent) ProtoReflect() protoreflect.Message
func (*EnvoyPolicyContent) Reset ¶
func (x *EnvoyPolicyContent) Reset()
func (*EnvoyPolicyContent) String ¶
func (x *EnvoyPolicyContent) String() string
type EnvoyPolicyContent_Email ¶
type EnvoyPolicyContent_Email struct {
Email *Email `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}
type EnvoyPolicyContent_Gotify ¶
type EnvoyPolicyContent_Gotify struct {
Gotify *Gotify `protobuf:"bytes,1,opt,name=gotify,proto3,oneof"`
}
type EnvoyPolicyContent_Telegram ¶
type EnvoyPolicyContent_Telegram struct {
Telegram *Telegram `protobuf:"bytes,4,opt,name=telegram,proto3,oneof"`
}
type EnvoyPolicyContent_Webhook ¶
type EnvoyPolicyContent_Webhook struct {
Webhook *Webhook `protobuf:"bytes,3,opt,name=webhook,proto3,oneof"`
}
type EnvoyTelegramLink ¶
type EnvoyTelegramLink struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*EnvoyTelegramLink) Descriptor
deprecated
func (*EnvoyTelegramLink) Descriptor() ([]byte, []int)
Deprecated: Use EnvoyTelegramLink.ProtoReflect.Descriptor instead.
func (*EnvoyTelegramLink) GetUrl ¶
func (x *EnvoyTelegramLink) GetUrl() string
func (*EnvoyTelegramLink) ProtoMessage ¶
func (*EnvoyTelegramLink) ProtoMessage()
func (*EnvoyTelegramLink) ProtoReflect ¶
func (x *EnvoyTelegramLink) ProtoReflect() protoreflect.Message
func (*EnvoyTelegramLink) Reset ¶
func (x *EnvoyTelegramLink) Reset()
func (*EnvoyTelegramLink) String ¶
func (x *EnvoyTelegramLink) String() string
type Gotify ¶
type Gotify struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*Gotify) Descriptor
deprecated
func (*Gotify) ProtoMessage ¶
func (*Gotify) ProtoMessage()
func (*Gotify) ProtoReflect ¶
func (x *Gotify) ProtoReflect() protoreflect.Message
type NewEmail ¶
type NewEmail struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*NewEmail) Descriptor
deprecated
func (*NewEmail) ProtoMessage ¶
func (*NewEmail) ProtoMessage()
func (*NewEmail) ProtoReflect ¶
func (x *NewEmail) ProtoReflect() protoreflect.Message
type NewPassword ¶
type NewPassword struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*NewPassword) Descriptor
deprecated
func (*NewPassword) Descriptor() ([]byte, []int)
Deprecated: Use NewPassword.ProtoReflect.Descriptor instead.
func (*NewPassword) GetPassword ¶
func (x *NewPassword) GetPassword() string
func (*NewPassword) ProtoMessage ¶
func (*NewPassword) ProtoMessage()
func (*NewPassword) ProtoReflect ¶
func (x *NewPassword) ProtoReflect() protoreflect.Message
func (*NewPassword) Reset ¶
func (x *NewPassword) Reset()
func (*NewPassword) String ¶
func (x *NewPassword) String() string
type ProfileServiceClient ¶
type ProfileServiceClient interface { GetUserProfile(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserProfile, error) ChangePassword(ctx context.Context, in *NewPassword, opts ...grpc.CallOption) (*emptypb.Empty, error) ChangeEmail(ctx context.Context, in *NewEmail, opts ...grpc.CallOption) (*emptypb.Empty, error) ChangeSensitive(ctx context.Context, in *Sensitive, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateEnvoyPolicy(ctx context.Context, in *EnvoyPolicy, opts ...grpc.CallOption) (*emptypb.Empty, error) UpdateEnvoyPolicy(ctx context.Context, in *EnvoyPolicy, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteEnvoyPolicy(ctx context.Context, in *EnvoyPolicy, opts ...grpc.CallOption) (*emptypb.Empty, error) GetEnvoyTelegramLink(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EnvoyTelegramLink, error) GetUserLoginLogs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserLoginLogs, error) }
ProfileServiceClient is the client API for ProfileService 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 NewProfileServiceClient ¶
func NewProfileServiceClient(cc grpc.ClientConnInterface) ProfileServiceClient
type ProfileServiceServer ¶
type ProfileServiceServer interface { GetUserProfile(context.Context, *emptypb.Empty) (*UserProfile, error) ChangePassword(context.Context, *NewPassword) (*emptypb.Empty, error) ChangeEmail(context.Context, *NewEmail) (*emptypb.Empty, error) ChangeSensitive(context.Context, *Sensitive) (*emptypb.Empty, error) CreateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error) UpdateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error) DeleteEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error) GetEnvoyTelegramLink(context.Context, *emptypb.Empty) (*EnvoyTelegramLink, error) GetUserLoginLogs(context.Context, *emptypb.Empty) (*UserLoginLogs, error) }
ProfileServiceServer is the server API for ProfileService service. All implementations should embed UnimplementedProfileServiceServer for forward compatibility
type Sensitive ¶
type Sensitive struct { Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"` // contains filtered or unexported fields }
func (*Sensitive) Descriptor
deprecated
func (*Sensitive) ProtoMessage ¶
func (*Sensitive) ProtoMessage()
func (*Sensitive) ProtoReflect ¶
func (x *Sensitive) ProtoReflect() protoreflect.Message
type TLS ¶
type TLS struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` TlsCA string `protobuf:"bytes,4,opt,name=tlsCA,proto3" json:"tlsCA,omitempty"` TlsCert string `protobuf:"bytes,5,opt,name=tlsCert,proto3" json:"tlsCert,omitempty"` TlsKey string `protobuf:"bytes,6,opt,name=tlsKey,proto3" json:"tlsKey,omitempty"` TlsKeyPwd string `protobuf:"bytes,7,opt,name=tlsKeyPwd,proto3" json:"tlsKeyPwd,omitempty"` TlsMinVersion string `protobuf:"bytes,8,opt,name=tlsMinVersion,proto3" json:"tlsMinVersion,omitempty"` Insecure bool `protobuf:"varint,9,opt,name=insecure,proto3" json:"insecure,omitempty"` // contains filtered or unexported fields }
func (*TLS) Descriptor
deprecated
func (*TLS) GetInsecure ¶
func (*TLS) GetTlsCert ¶
func (*TLS) GetTlsKeyPwd ¶
func (*TLS) GetTlsMinVersion ¶
func (*TLS) ProtoMessage ¶
func (*TLS) ProtoMessage()
func (*TLS) ProtoReflect ¶
func (x *TLS) ProtoReflect() protoreflect.Message
type TLSList ¶
type TLSList struct { List []*TLS `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*TLSList) Descriptor
deprecated
func (*TLSList) ProtoMessage ¶
func (*TLSList) ProtoMessage()
func (*TLSList) ProtoReflect ¶
func (x *TLSList) ProtoReflect() protoreflect.Message
type TLSServiceClient ¶
type TLSServiceClient interface { GetUserTLS(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TLSList, error) CreateTLS(ctx context.Context, in *TLS, opts ...grpc.CallOption) (*TLS, error) UpdateTLS(ctx context.Context, in *TLS, opts ...grpc.CallOption) (*TLS, error) DeleteTLS(ctx context.Context, in *public.PrimitiveID, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TLSServiceClient is the client API for TLSService 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 NewTLSServiceClient ¶
func NewTLSServiceClient(cc grpc.ClientConnInterface) TLSServiceClient
type TLSServiceServer ¶
type TLSServiceServer interface { GetUserTLS(context.Context, *emptypb.Empty) (*TLSList, error) CreateTLS(context.Context, *TLS) (*TLS, error) UpdateTLS(context.Context, *TLS) (*TLS, error) DeleteTLS(context.Context, *public.PrimitiveID) (*emptypb.Empty, error) }
TLSServiceServer is the server API for TLSService service. All implementations should embed UnimplementedTLSServiceServer for forward compatibility
type Telegram ¶
type Telegram struct { ChatId int64 `protobuf:"varint,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // contains filtered or unexported fields }
func (*Telegram) Descriptor
deprecated
func (*Telegram) ProtoMessage ¶
func (*Telegram) ProtoMessage()
func (*Telegram) ProtoReflect ¶
func (x *Telegram) ProtoReflect() protoreflect.Message
type UnimplementedProfileServiceServer ¶
type UnimplementedProfileServiceServer struct { }
UnimplementedProfileServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedProfileServiceServer) ChangeEmail ¶
func (UnimplementedProfileServiceServer) ChangePassword ¶
func (UnimplementedProfileServiceServer) ChangePassword(context.Context, *NewPassword) (*emptypb.Empty, error)
func (UnimplementedProfileServiceServer) ChangeSensitive ¶
func (UnimplementedProfileServiceServer) CreateEnvoyPolicy ¶
func (UnimplementedProfileServiceServer) CreateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
func (UnimplementedProfileServiceServer) DeleteEnvoyPolicy ¶
func (UnimplementedProfileServiceServer) DeleteEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
func (UnimplementedProfileServiceServer) GetEnvoyTelegramLink ¶
func (UnimplementedProfileServiceServer) GetEnvoyTelegramLink(context.Context, *emptypb.Empty) (*EnvoyTelegramLink, error)
func (UnimplementedProfileServiceServer) GetUserLoginLogs ¶
func (UnimplementedProfileServiceServer) GetUserLoginLogs(context.Context, *emptypb.Empty) (*UserLoginLogs, error)
func (UnimplementedProfileServiceServer) GetUserProfile ¶
func (UnimplementedProfileServiceServer) GetUserProfile(context.Context, *emptypb.Empty) (*UserProfile, error)
func (UnimplementedProfileServiceServer) UpdateEnvoyPolicy ¶
func (UnimplementedProfileServiceServer) UpdateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
type UnimplementedTLSServiceServer ¶
type UnimplementedTLSServiceServer struct { }
UnimplementedTLSServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTLSServiceServer) DeleteTLS ¶
func (UnimplementedTLSServiceServer) DeleteTLS(context.Context, *public.PrimitiveID) (*emptypb.Empty, error)
func (UnimplementedTLSServiceServer) GetUserTLS ¶
type UnsafeProfileServiceServer ¶
type UnsafeProfileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServiceServer will result in compilation errors.
type UnsafeTLSServiceServer ¶
type UnsafeTLSServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTLSServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TLSServiceServer will result in compilation errors.
type UserLoginLog ¶
type UserLoginLog struct { LoginTime string `protobuf:"bytes,1,opt,name=loginTime,proto3" json:"loginTime,omitempty"` Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` Device string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"` DeticeType string `protobuf:"bytes,4,opt,name=deticeType,proto3" json:"deticeType,omitempty"` // contains filtered or unexported fields }
func (*UserLoginLog) Descriptor
deprecated
func (*UserLoginLog) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginLog.ProtoReflect.Descriptor instead.
func (*UserLoginLog) GetDeticeType ¶
func (x *UserLoginLog) GetDeticeType() string
func (*UserLoginLog) GetDevice ¶
func (x *UserLoginLog) GetDevice() string
func (*UserLoginLog) GetLocation ¶
func (x *UserLoginLog) GetLocation() string
func (*UserLoginLog) GetLoginTime ¶
func (x *UserLoginLog) GetLoginTime() string
func (*UserLoginLog) ProtoMessage ¶
func (*UserLoginLog) ProtoMessage()
func (*UserLoginLog) ProtoReflect ¶
func (x *UserLoginLog) ProtoReflect() protoreflect.Message
func (*UserLoginLog) Reset ¶
func (x *UserLoginLog) Reset()
func (*UserLoginLog) String ¶
func (x *UserLoginLog) String() string
type UserLoginLogs ¶
type UserLoginLogs struct { Logs []*UserLoginLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*UserLoginLogs) Descriptor
deprecated
func (*UserLoginLogs) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginLogs.ProtoReflect.Descriptor instead.
func (*UserLoginLogs) GetLogs ¶
func (x *UserLoginLogs) GetLogs() []*UserLoginLog
func (*UserLoginLogs) ProtoMessage ¶
func (*UserLoginLogs) ProtoMessage()
func (*UserLoginLogs) ProtoReflect ¶
func (x *UserLoginLogs) ProtoReflect() protoreflect.Message
func (*UserLoginLogs) Reset ¶
func (x *UserLoginLogs) Reset()
func (*UserLoginLogs) String ¶
func (x *UserLoginLogs) String() string
type UserProfile ¶
type UserProfile struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` Level uint32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` Avatar []byte `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` Policies []*EnvoyPolicy `protobuf:"bytes,5,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*UserProfile) Descriptor
deprecated
func (*UserProfile) Descriptor() ([]byte, []int)
Deprecated: Use UserProfile.ProtoReflect.Descriptor instead.
func (*UserProfile) GetAvatar ¶
func (x *UserProfile) GetAvatar() []byte
func (*UserProfile) GetCreatedAt ¶
func (x *UserProfile) GetCreatedAt() string
func (*UserProfile) GetEmail ¶
func (x *UserProfile) GetEmail() string
func (*UserProfile) GetLevel ¶
func (x *UserProfile) GetLevel() uint32
func (*UserProfile) GetPolicies ¶
func (x *UserProfile) GetPolicies() []*EnvoyPolicy
func (*UserProfile) ProtoMessage ¶
func (*UserProfile) ProtoMessage()
func (*UserProfile) ProtoReflect ¶
func (x *UserProfile) ProtoReflect() protoreflect.Message
func (*UserProfile) Reset ¶
func (x *UserProfile) Reset()
func (*UserProfile) String ¶
func (x *UserProfile) String() string
type Webhook ¶
type Webhook struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Insecure bool `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"` // contains filtered or unexported fields }
func (*Webhook) Descriptor
deprecated
func (*Webhook) GetInsecure ¶
func (*Webhook) ProtoMessage ¶
func (*Webhook) ProtoMessage()
func (*Webhook) ProtoReflect ¶
func (x *Webhook) ProtoReflect() protoreflect.Message