smf

package
v0.0.0-...-36a2cef Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: BSD-2-Clause, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterSmfServer

func RegisterSmfServer(s *grpc.Server, srv SmfServer)

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

Jump to

Keyboard shortcuts

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