Documentation ¶
Index ¶
- Variables
- func RegisterSmfServer(s *grpc.Server, srv SmfServer)
- type SessionManageRequest
- func (*SessionManageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SessionManageRequest) GetMessageType() int32
- func (x *SessionManageRequest) GetRequestBody() []byte
- func (*SessionManageRequest) ProtoMessage()
- func (x *SessionManageRequest) ProtoReflect() protoreflect.Message
- func (x *SessionManageRequest) Reset()
- func (x *SessionManageRequest) String() string
- type SessionManageResponse
- func (*SessionManageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SessionManageResponse) GetResponseBody() []byte
- func (*SessionManageResponse) ProtoMessage()
- func (x *SessionManageResponse) ProtoReflect() protoreflect.Message
- func (x *SessionManageResponse) Reset()
- func (x *SessionManageResponse) String() string
- type SmfClient
- type SmfServer
- type UnimplementedSmfServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_smf_proto protoreflect.FileDescriptor
Functions ¶
func RegisterSmfServer ¶
Types ¶
type SessionManageRequest ¶
type SessionManageRequest struct { MessageType int32 `protobuf:"varint,1,opt,name=messageType,proto3" json:"messageType,omitempty"` RequestBody []byte `protobuf:"bytes,2,opt,name=requestBody,proto3" json:"requestBody,omitempty"` // contains filtered or unexported fields }
func (*SessionManageRequest) Descriptor
deprecated
func (*SessionManageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SessionManageRequest.ProtoReflect.Descriptor instead.
func (*SessionManageRequest) GetMessageType ¶
func (x *SessionManageRequest) GetMessageType() int32
func (*SessionManageRequest) GetRequestBody ¶
func (x *SessionManageRequest) GetRequestBody() []byte
func (*SessionManageRequest) ProtoMessage ¶
func (*SessionManageRequest) ProtoMessage()
func (*SessionManageRequest) ProtoReflect ¶
func (x *SessionManageRequest) ProtoReflect() protoreflect.Message
func (*SessionManageRequest) Reset ¶
func (x *SessionManageRequest) Reset()
func (*SessionManageRequest) String ¶
func (x *SessionManageRequest) String() string
type SessionManageResponse ¶
type SessionManageResponse struct { ResponseBody []byte `protobuf:"bytes,1,opt,name=responseBody,proto3" json:"responseBody,omitempty"` // contains filtered or unexported fields }
func (*SessionManageResponse) Descriptor
deprecated
func (*SessionManageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SessionManageResponse.ProtoReflect.Descriptor instead.
func (*SessionManageResponse) GetResponseBody ¶
func (x *SessionManageResponse) GetResponseBody() []byte
func (*SessionManageResponse) ProtoMessage ¶
func (*SessionManageResponse) ProtoMessage()
func (*SessionManageResponse) ProtoReflect ¶
func (x *SessionManageResponse) ProtoReflect() protoreflect.Message
func (*SessionManageResponse) Reset ¶
func (x *SessionManageResponse) Reset()
func (*SessionManageResponse) String ¶
func (x *SessionManageResponse) String() string
type SmfClient ¶
type SmfClient interface {
SessionManage(ctx context.Context, in *SessionManageRequest, opts ...grpc.CallOption) (*SessionManageResponse, error)
}
SmfClient is the client API for Smf service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSmfClient ¶
func NewSmfClient(cc grpc.ClientConnInterface) SmfClient
type SmfServer ¶
type SmfServer interface {
SessionManage(context.Context, *SessionManageRequest) (*SessionManageResponse, error)
}
SmfServer is the server API for Smf service.
type UnimplementedSmfServer ¶
type UnimplementedSmfServer struct { }
UnimplementedSmfServer can be embedded to have forward compatible implementations.
func (*UnimplementedSmfServer) SessionManage ¶
func (*UnimplementedSmfServer) SessionManage(context.Context, *SessionManageRequest) (*SessionManageResponse, error)
Click to show internal directories.
Click to hide internal directories.