appsvc

package
v0.0.0-...-2d9c92e Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppChannel_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "appsvc.AppChannel",
	HandlerType: (*AppChannelServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateChannel",
			Handler:    _AppChannel_CreateChannel_Handler,
		},
		{
			MethodName: "GetChannelById",
			Handler:    _AppChannel_GetChannelById_Handler,
		},
		{
			MethodName: "ChannelList",
			Handler:    _AppChannel_ChannelList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "appsvc.proto",
}

AppChannel_ServiceDesc is the grpc.ServiceDesc for AppChannel 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 Appsvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "appsvc.Appsvc",
	HandlerType: (*AppsvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAppById",
			Handler:    _Appsvc_GetAppById_Handler,
		},
		{
			MethodName: "CreateApp",
			Handler:    _Appsvc_CreateApp_Handler,
		},
		{
			MethodName: "AppList",
			Handler:    _Appsvc_AppList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "appsvc.proto",
}

Appsvc_ServiceDesc is the grpc.ServiceDesc for Appsvc 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 File_appsvc_proto protoreflect.FileDescriptor
View Source
var SendLogsvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "appsvc.SendLogsvc",
	HandlerType: (*SendLogsvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InsertLog",
			Handler:    _SendLogsvc_InsertLog_Handler,
		},
		{
			MethodName: "SendLogList",
			Handler:    _SendLogsvc_SendLogList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "appsvc.proto",
}

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

Functions

func RegisterAppChannelServer

func RegisterAppChannelServer(s grpc.ServiceRegistrar, srv AppChannelServer)

func RegisterAppsvcServer

func RegisterAppsvcServer(s grpc.ServiceRegistrar, srv AppsvcServer)

func RegisterSendLogsvcServer

func RegisterSendLogsvcServer(s grpc.ServiceRegistrar, srv SendLogsvcServer)

Types

type App

type App struct {
	AppId     int64  `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Secret    string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	Status    int32  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	Remark    string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
	AccountId int64  `protobuf:"varint,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	CreatedAt int64  `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64  `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*App) Descriptor deprecated

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetAccountId

func (x *App) GetAccountId() int64

func (*App) GetAppId

func (x *App) GetAppId() int64

func (*App) GetCreatedAt

func (x *App) GetCreatedAt() int64

func (*App) GetName

func (x *App) GetName() string

func (*App) GetRemark

func (x *App) GetRemark() string

func (*App) GetSecret

func (x *App) GetSecret() string

func (*App) GetStatus

func (x *App) GetStatus() int32

func (*App) GetUpdatedAt

func (x *App) GetUpdatedAt() int64

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

func (x *App) ProtoReflect() protoreflect.Message

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

type AppChannelClient

type AppChannelClient interface {
	CreateChannel(ctx context.Context, in *CreateChannelReq, opts ...grpc.CallOption) (*CreateChannelResp, error)
	GetChannelById(ctx context.Context, in *GetChannelByIdReq, opts ...grpc.CallOption) (*GetChannelByIdResp, error)
	ChannelList(ctx context.Context, in *ChannelListReq, opts ...grpc.CallOption) (*ChannelListResp, error)
}

AppChannelClient is the client API for AppChannel 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 NewAppChannelClient

func NewAppChannelClient(cc grpc.ClientConnInterface) AppChannelClient

type AppChannelServer

type AppChannelServer interface {
	CreateChannel(context.Context, *CreateChannelReq) (*CreateChannelResp, error)
	GetChannelById(context.Context, *GetChannelByIdReq) (*GetChannelByIdResp, error)
	ChannelList(context.Context, *ChannelListReq) (*ChannelListResp, error)
	// contains filtered or unexported methods
}

AppChannelServer is the server API for AppChannel service. All implementations must embed UnimplementedAppChannelServer for forward compatibility

type AppListReq

type AppListReq struct {
	AccountId int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Status    int64  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Id        int64  `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	CreatedLt int64  `protobuf:"varint,4,opt,name=created_lt,json=createdLt,proto3" json:"created_lt,omitempty"`
	CreatedGt int64  `protobuf:"varint,5,opt,name=created_gt,json=createdGt,proto3" json:"created_gt,omitempty"`
	Name      string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Page      int64  `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	PageSize  int64  `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*AppListReq) Descriptor deprecated

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

Deprecated: Use AppListReq.ProtoReflect.Descriptor instead.

func (*AppListReq) GetAccountId

func (x *AppListReq) GetAccountId() int64

func (*AppListReq) GetCreatedGt

func (x *AppListReq) GetCreatedGt() int64

func (*AppListReq) GetCreatedLt

func (x *AppListReq) GetCreatedLt() int64

func (*AppListReq) GetId

func (x *AppListReq) GetId() int64

func (*AppListReq) GetName

func (x *AppListReq) GetName() string

func (*AppListReq) GetPage

func (x *AppListReq) GetPage() int64

func (*AppListReq) GetPageSize

func (x *AppListReq) GetPageSize() int64

func (*AppListReq) GetStatus

func (x *AppListReq) GetStatus() int64

func (*AppListReq) ProtoMessage

func (*AppListReq) ProtoMessage()

func (*AppListReq) ProtoReflect

func (x *AppListReq) ProtoReflect() protoreflect.Message

func (*AppListReq) Reset

func (x *AppListReq) Reset()

func (*AppListReq) String

func (x *AppListReq) String() string

type AppListResp

type AppListResp struct {
	List  []*App `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*AppListResp) Descriptor deprecated

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

Deprecated: Use AppListResp.ProtoReflect.Descriptor instead.

func (*AppListResp) GetList

func (x *AppListResp) GetList() []*App

func (*AppListResp) GetTotal

func (x *AppListResp) GetTotal() int64

func (*AppListResp) ProtoMessage

func (*AppListResp) ProtoMessage()

func (*AppListResp) ProtoReflect

func (x *AppListResp) ProtoReflect() protoreflect.Message

func (*AppListResp) Reset

func (x *AppListResp) Reset()

func (*AppListResp) String

func (x *AppListResp) String() string

type AppsvcClient

type AppsvcClient interface {
	GetAppById(ctx context.Context, in *GetAppByIdReq, opts ...grpc.CallOption) (*GetAppByIdResp, error)
	CreateApp(ctx context.Context, in *CreateAppReq, opts ...grpc.CallOption) (*CreateAppResp, error)
	AppList(ctx context.Context, in *AppListReq, opts ...grpc.CallOption) (*AppListResp, error)
}

AppsvcClient is the client API for Appsvc 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 NewAppsvcClient

func NewAppsvcClient(cc grpc.ClientConnInterface) AppsvcClient

type AppsvcServer

type AppsvcServer interface {
	GetAppById(context.Context, *GetAppByIdReq) (*GetAppByIdResp, error)
	CreateApp(context.Context, *CreateAppReq) (*CreateAppResp, error)
	AppList(context.Context, *AppListReq) (*AppListResp, error)
	// contains filtered or unexported methods
}

AppsvcServer is the server API for Appsvc service. All implementations must embed UnimplementedAppsvcServer for forward compatibility

type Channel

type Channel struct {
	Id            int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ChannelName   string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
	ChannelType   string `protobuf:"bytes,3,opt,name=channel_type,json=channelType,proto3" json:"channel_type,omitempty"`
	ChannelKey    string `protobuf:"bytes,4,opt,name=channel_key,json=channelKey,proto3" json:"channel_key,omitempty"`
	ChannelSecret string `protobuf:"bytes,5,opt,name=channel_secret,json=channelSecret,proto3" json:"channel_secret,omitempty"`
	ChannelDomain string `protobuf:"bytes,6,opt,name=channel_domain,json=channelDomain,proto3" json:"channel_domain,omitempty"`
	ExtProperties string `protobuf:"bytes,7,opt,name=ext_properties,json=extProperties,proto3" json:"ext_properties,omitempty"`
	Status        string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	SendOrder     string `protobuf:"bytes,9,opt,name=send_order,json=sendOrder,proto3" json:"send_order,omitempty"`
	CreatedAt     int64  `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     int64  `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Quota         int64  `protobuf:"varint,12,opt,name=quota,proto3" json:"quota,omitempty"`
	IsDefault     int64  `protobuf:"varint,13,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

func (*Channel) Descriptor deprecated

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetChannelDomain

func (x *Channel) GetChannelDomain() string

func (*Channel) GetChannelKey

func (x *Channel) GetChannelKey() string

func (*Channel) GetChannelName

func (x *Channel) GetChannelName() string

func (*Channel) GetChannelSecret

func (x *Channel) GetChannelSecret() string

func (*Channel) GetChannelType

func (x *Channel) GetChannelType() string

func (*Channel) GetCreatedAt

func (x *Channel) GetCreatedAt() int64

func (*Channel) GetExtProperties

func (x *Channel) GetExtProperties() string

func (*Channel) GetId

func (x *Channel) GetId() int64

func (*Channel) GetIsDefault

func (x *Channel) GetIsDefault() int64

func (*Channel) GetQuota

func (x *Channel) GetQuota() int64

func (*Channel) GetSendOrder

func (x *Channel) GetSendOrder() string

func (*Channel) GetStatus

func (x *Channel) GetStatus() string

func (*Channel) GetUpdatedAt

func (x *Channel) GetUpdatedAt() int64

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

func (x *Channel) ProtoReflect() protoreflect.Message

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

type ChannelListReq

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

func (*ChannelListReq) Descriptor deprecated

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

Deprecated: Use ChannelListReq.ProtoReflect.Descriptor instead.

func (*ChannelListReq) ProtoMessage

func (*ChannelListReq) ProtoMessage()

func (*ChannelListReq) ProtoReflect

func (x *ChannelListReq) ProtoReflect() protoreflect.Message

func (*ChannelListReq) Reset

func (x *ChannelListReq) Reset()

func (*ChannelListReq) String

func (x *ChannelListReq) String() string

type ChannelListResp

type ChannelListResp struct {
	List  []*Channel `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int64      `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelListResp) Descriptor deprecated

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

Deprecated: Use ChannelListResp.ProtoReflect.Descriptor instead.

func (*ChannelListResp) GetList

func (x *ChannelListResp) GetList() []*Channel

func (*ChannelListResp) GetTotal

func (x *ChannelListResp) GetTotal() int64

func (*ChannelListResp) ProtoMessage

func (*ChannelListResp) ProtoMessage()

func (*ChannelListResp) ProtoReflect

func (x *ChannelListResp) ProtoReflect() protoreflect.Message

func (*ChannelListResp) Reset

func (x *ChannelListResp) Reset()

func (*ChannelListResp) String

func (x *ChannelListResp) String() string

type CreateAppReq

type CreateAppReq struct {
	AccountId int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	ServiceId int64  `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppReq) Descriptor deprecated

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

Deprecated: Use CreateAppReq.ProtoReflect.Descriptor instead.

func (*CreateAppReq) GetAccountId

func (x *CreateAppReq) GetAccountId() int64

func (*CreateAppReq) GetName

func (x *CreateAppReq) GetName() string

func (*CreateAppReq) GetServiceId

func (x *CreateAppReq) GetServiceId() int64

func (*CreateAppReq) ProtoMessage

func (*CreateAppReq) ProtoMessage()

func (*CreateAppReq) ProtoReflect

func (x *CreateAppReq) ProtoReflect() protoreflect.Message

func (*CreateAppReq) Reset

func (x *CreateAppReq) Reset()

func (*CreateAppReq) String

func (x *CreateAppReq) String() string

type CreateAppResp

type CreateAppResp struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppResp) Descriptor deprecated

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

Deprecated: Use CreateAppResp.ProtoReflect.Descriptor instead.

func (*CreateAppResp) GetId

func (x *CreateAppResp) GetId() int64

func (*CreateAppResp) ProtoMessage

func (*CreateAppResp) ProtoMessage()

func (*CreateAppResp) ProtoReflect

func (x *CreateAppResp) ProtoReflect() protoreflect.Message

func (*CreateAppResp) Reset

func (x *CreateAppResp) Reset()

func (*CreateAppResp) String

func (x *CreateAppResp) String() string

type CreateChannelReq

type CreateChannelReq struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AppId     string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	Secret    string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	Gateway   string `protobuf:"bytes,4,opt,name=gateway,proto3" json:"gateway,omitempty"`
	IsDefault int32  `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateChannelReq) Descriptor deprecated

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

Deprecated: Use CreateChannelReq.ProtoReflect.Descriptor instead.

func (*CreateChannelReq) GetAppId

func (x *CreateChannelReq) GetAppId() string

func (*CreateChannelReq) GetGateway

func (x *CreateChannelReq) GetGateway() string

func (*CreateChannelReq) GetIsDefault

func (x *CreateChannelReq) GetIsDefault() int32

func (*CreateChannelReq) GetName

func (x *CreateChannelReq) GetName() string

func (*CreateChannelReq) GetSecret

func (x *CreateChannelReq) GetSecret() string

func (*CreateChannelReq) ProtoMessage

func (*CreateChannelReq) ProtoMessage()

func (*CreateChannelReq) ProtoReflect

func (x *CreateChannelReq) ProtoReflect() protoreflect.Message

func (*CreateChannelReq) Reset

func (x *CreateChannelReq) Reset()

func (*CreateChannelReq) String

func (x *CreateChannelReq) String() string

type CreateChannelResp

type CreateChannelResp struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateChannelResp) Descriptor deprecated

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

Deprecated: Use CreateChannelResp.ProtoReflect.Descriptor instead.

func (*CreateChannelResp) GetId

func (x *CreateChannelResp) GetId() int64

func (*CreateChannelResp) ProtoMessage

func (*CreateChannelResp) ProtoMessage()

func (*CreateChannelResp) ProtoReflect

func (x *CreateChannelResp) ProtoReflect() protoreflect.Message

func (*CreateChannelResp) Reset

func (x *CreateChannelResp) Reset()

func (*CreateChannelResp) String

func (x *CreateChannelResp) String() string

type GetAppByIdReq

type GetAppByIdReq struct {
	AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppByIdReq) Descriptor deprecated

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

Deprecated: Use GetAppByIdReq.ProtoReflect.Descriptor instead.

func (*GetAppByIdReq) GetAppId

func (x *GetAppByIdReq) GetAppId() int64

func (*GetAppByIdReq) ProtoMessage

func (*GetAppByIdReq) ProtoMessage()

func (*GetAppByIdReq) ProtoReflect

func (x *GetAppByIdReq) ProtoReflect() protoreflect.Message

func (*GetAppByIdReq) Reset

func (x *GetAppByIdReq) Reset()

func (*GetAppByIdReq) String

func (x *GetAppByIdReq) String() string

type GetAppByIdResp

type GetAppByIdResp struct {
	Data *App `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppByIdResp) Descriptor deprecated

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

Deprecated: Use GetAppByIdResp.ProtoReflect.Descriptor instead.

func (*GetAppByIdResp) GetData

func (x *GetAppByIdResp) GetData() *App

func (*GetAppByIdResp) ProtoMessage

func (*GetAppByIdResp) ProtoMessage()

func (*GetAppByIdResp) ProtoReflect

func (x *GetAppByIdResp) ProtoReflect() protoreflect.Message

func (*GetAppByIdResp) Reset

func (x *GetAppByIdResp) Reset()

func (*GetAppByIdResp) String

func (x *GetAppByIdResp) String() string

type GetChannelByIdReq

type GetChannelByIdReq struct {
	AppId int64 `protobuf:"varint,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChannelByIdReq) Descriptor deprecated

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

Deprecated: Use GetChannelByIdReq.ProtoReflect.Descriptor instead.

func (*GetChannelByIdReq) GetAppId

func (x *GetChannelByIdReq) GetAppId() int64

func (*GetChannelByIdReq) ProtoMessage

func (*GetChannelByIdReq) ProtoMessage()

func (*GetChannelByIdReq) ProtoReflect

func (x *GetChannelByIdReq) ProtoReflect() protoreflect.Message

func (*GetChannelByIdReq) Reset

func (x *GetChannelByIdReq) Reset()

func (*GetChannelByIdReq) String

func (x *GetChannelByIdReq) String() string

type GetChannelByIdResp

type GetChannelByIdResp struct {
	Data *Channel `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChannelByIdResp) Descriptor deprecated

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

Deprecated: Use GetChannelByIdResp.ProtoReflect.Descriptor instead.

func (*GetChannelByIdResp) GetData

func (x *GetChannelByIdResp) GetData() *Channel

func (*GetChannelByIdResp) ProtoMessage

func (*GetChannelByIdResp) ProtoMessage()

func (*GetChannelByIdResp) ProtoReflect

func (x *GetChannelByIdResp) ProtoReflect() protoreflect.Message

func (*GetChannelByIdResp) Reset

func (x *GetChannelByIdResp) Reset()

func (*GetChannelByIdResp) String

func (x *GetChannelByIdResp) String() string

type Req

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

func (*Req) Descriptor deprecated

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

Deprecated: Use Req.ProtoReflect.Descriptor instead.

func (*Req) ProtoMessage

func (*Req) ProtoMessage()

func (*Req) ProtoReflect

func (x *Req) ProtoReflect() protoreflect.Message

func (*Req) Reset

func (x *Req) Reset()

func (*Req) String

func (x *Req) String() string

type Resp

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

func (*Resp) Descriptor deprecated

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

Deprecated: Use Resp.ProtoReflect.Descriptor instead.

func (*Resp) ProtoMessage

func (*Resp) ProtoMessage()

func (*Resp) ProtoReflect

func (x *Resp) ProtoReflect() protoreflect.Message

func (*Resp) Reset

func (x *Resp) Reset()

func (*Resp) String

func (x *Resp) String() string

type SendLogsvcClient

type SendLogsvcClient interface {
	InsertLog(ctx context.Context, in *Req, opts ...grpc.CallOption) (*Resp, error)
	SendLogList(ctx context.Context, in *Req, opts ...grpc.CallOption) (*Resp, error)
}

SendLogsvcClient is the client API for SendLogsvc 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 NewSendLogsvcClient

func NewSendLogsvcClient(cc grpc.ClientConnInterface) SendLogsvcClient

type SendLogsvcServer

type SendLogsvcServer interface {
	InsertLog(context.Context, *Req) (*Resp, error)
	SendLogList(context.Context, *Req) (*Resp, error)
	// contains filtered or unexported methods
}

SendLogsvcServer is the server API for SendLogsvc service. All implementations must embed UnimplementedSendLogsvcServer for forward compatibility

type UnimplementedAppChannelServer

type UnimplementedAppChannelServer struct {
}

UnimplementedAppChannelServer must be embedded to have forward compatible implementations.

func (UnimplementedAppChannelServer) ChannelList

func (UnimplementedAppChannelServer) CreateChannel

func (UnimplementedAppChannelServer) GetChannelById

type UnimplementedAppsvcServer

type UnimplementedAppsvcServer struct {
}

UnimplementedAppsvcServer must be embedded to have forward compatible implementations.

func (UnimplementedAppsvcServer) AppList

func (UnimplementedAppsvcServer) CreateApp

func (UnimplementedAppsvcServer) GetAppById

type UnimplementedSendLogsvcServer

type UnimplementedSendLogsvcServer struct {
}

UnimplementedSendLogsvcServer must be embedded to have forward compatible implementations.

func (UnimplementedSendLogsvcServer) InsertLog

func (UnimplementedSendLogsvcServer) SendLogList

type UnsafeAppChannelServer

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

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

type UnsafeAppsvcServer

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

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

type UnsafeSendLogsvcServer

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

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

Jump to

Keyboard shortcuts

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