Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRPCClientIP ¶
GetRPCClientIP 检查上下文以检索客户机的ip地址
Types ¶
type GrpcServer ¶
type GrpcServer struct {
service.ServiceServer
}
func (*GrpcServer) Encrypt ¶
func (s *GrpcServer) Encrypt(ctx context.Context, r *service.EncryptRequest) (*service.EncryptResponse, error)
func (*GrpcServer) Status ¶
func (s *GrpcServer) Status(ctx context.Context, r *service.StatusRequest) (*service.StatusResponse, error)
Click to show internal directories.
Click to hide internal directories.