Versions in this module Expand all Collapse all v0 v0.2.3 Jan 29, 2025 Changes in this version + const Hellomicro_Crash_FullMethodName + const Hellomicro_DeleteFile_FullMethodName + const Hellomicro_Echo_FullMethodName + const Hellomicro_Environments_FullMethodName + const Hellomicro_Exit_FullMethodName + const Hellomicro_Info_FullMethodName + const Hellomicro_Latency_FullMethodName + const Hellomicro_ListFiles_FullMethodName + const Hellomicro_Log_FullMethodName + const Hellomicro_Panic_FullMethodName + const Hellomicro_Ping_FullMethodName + const Hellomicro_ReadFile_FullMethodName + const Hellomicro_Request_FullMethodName + const Hellomicro_WriteFile_FullMethodName + var Cookie_SameSite_name = map[int32]string + var Cookie_SameSite_value = map[string]int32 + var File_proto_service_proto protoreflect.FileDescriptor + var Hellomicro_ServiceDesc = grpc.ServiceDesc + func RegisterHellomicroHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterHellomicroHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HellomicroClient) error + func RegisterHellomicroHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterHellomicroHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HellomicroServer) error + func RegisterHellomicroServer(s grpc.ServiceRegistrar, srv HellomicroServer) + type Cookie struct + Domain string + Expires *timestamppb.Timestamp + HttpOnly bool + MaxAge int32 + Name string + Path string + Raw string + RawExpires string + SameSite Cookie_SameSite + Secure bool + Unparsed []string + Value string + func (*Cookie) Descriptor() ([]byte, []int) + func (*Cookie) ProtoMessage() + func (x *Cookie) GetDomain() string + func (x *Cookie) GetExpires() *timestamppb.Timestamp + func (x *Cookie) GetHttpOnly() bool + func (x *Cookie) GetMaxAge() int32 + func (x *Cookie) GetName() string + func (x *Cookie) GetPath() string + func (x *Cookie) GetRaw() string + func (x *Cookie) GetRawExpires() string + func (x *Cookie) GetSameSite() Cookie_SameSite + func (x *Cookie) GetSecure() bool + func (x *Cookie) GetUnparsed() []string + func (x *Cookie) GetValue() string + func (x *Cookie) ProtoReflect() protoreflect.Message + func (x *Cookie) Reset() + func (x *Cookie) String() string + type Cookie_SameSite int32 + const Cookie_DEFAULT_MODE + const Cookie_LAX_MODE + const Cookie_NONE_MODE + const Cookie_STRICT_MODE + const Cookie_TYPE_UNSPECIFIED + func (Cookie_SameSite) Descriptor() protoreflect.EnumDescriptor + func (Cookie_SameSite) EnumDescriptor() ([]byte, []int) + func (Cookie_SameSite) Type() protoreflect.EnumType + func (x Cookie_SameSite) Enum() *Cookie_SameSite + func (x Cookie_SameSite) Number() protoreflect.EnumNumber + func (x Cookie_SameSite) String() string + type DeleteFileReq struct + func (*DeleteFileReq) Descriptor() ([]byte, []int) + func (*DeleteFileReq) ProtoMessage() + func (x *DeleteFileReq) ProtoReflect() protoreflect.Message + func (x *DeleteFileReq) Reset() + func (x *DeleteFileReq) String() string + type DeleteFileRes struct + func (*DeleteFileRes) Descriptor() ([]byte, []int) + func (*DeleteFileRes) ProtoMessage() + func (x *DeleteFileRes) ProtoReflect() protoreflect.Message + func (x *DeleteFileRes) Reset() + func (x *DeleteFileRes) String() string + type EchoRes struct + Body string + ContentLength int64 + Cookies []*Cookie + Headers map[string]*StringArray + Host string + Method string + Params map[string]*StringArray + Proto string + RemoteAddr string + RequestUri string + Url *URL + UserAgent string + func (*EchoRes) Descriptor() ([]byte, []int) + func (*EchoRes) ProtoMessage() + func (x *EchoRes) GetBody() string + func (x *EchoRes) GetContentLength() int64 + func (x *EchoRes) GetCookies() []*Cookie + func (x *EchoRes) GetHeaders() map[string]*StringArray + func (x *EchoRes) GetHost() string + func (x *EchoRes) GetMethod() string + func (x *EchoRes) GetParams() map[string]*StringArray + func (x *EchoRes) GetProto() string + func (x *EchoRes) GetRemoteAddr() string + func (x *EchoRes) GetRequestUri() string + func (x *EchoRes) GetUrl() *URL + func (x *EchoRes) GetUserAgent() string + func (x *EchoRes) ProtoReflect() protoreflect.Message + func (x *EchoRes) Reset() + func (x *EchoRes) String() string + type EnvironmentsRes struct + Environments map[string]string + func (*EnvironmentsRes) Descriptor() ([]byte, []int) + func (*EnvironmentsRes) ProtoMessage() + func (x *EnvironmentsRes) GetEnvironments() map[string]string + func (x *EnvironmentsRes) ProtoReflect() protoreflect.Message + func (x *EnvironmentsRes) Reset() + func (x *EnvironmentsRes) String() string + type ExitReq struct + Code int32 + func (*ExitReq) Descriptor() ([]byte, []int) + func (*ExitReq) ProtoMessage() + func (x *ExitReq) GetCode() int32 + func (x *ExitReq) ProtoReflect() protoreflect.Message + func (x *ExitReq) Reset() + func (x *ExitReq) String() string + type FileInfo struct + ModTime *timestamppb.Timestamp + Mode string + Path string + Size int64 + func (*FileInfo) Descriptor() ([]byte, []int) + func (*FileInfo) ProtoMessage() + func (x *FileInfo) GetModTime() *timestamppb.Timestamp + func (x *FileInfo) GetMode() string + func (x *FileInfo) GetPath() string + func (x *FileInfo) GetSize() int64 + func (x *FileInfo) ProtoReflect() protoreflect.Message + func (x *FileInfo) Reset() + func (x *FileInfo) String() string + type HellomicroClient interface + Crash func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteFile func(ctx context.Context, in *DeleteFileReq, opts ...grpc.CallOption) (*DeleteFileRes, error) + Echo func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EchoRes, error) + Environments func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EnvironmentsRes, error) + Exit func(ctx context.Context, in *ExitReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + Info func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InfoRes, error) + Latency func(ctx context.Context, in *LatencyReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + ListFiles func(ctx context.Context, in *ListFilesReq, opts ...grpc.CallOption) (*ListFilesRes, error) + Log func(ctx context.Context, in *LogReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + Panic func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) + Ping func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) + ReadFile func(ctx context.Context, in *ReadFileReq, opts ...grpc.CallOption) (*ReadFileRes, error) + Request func(ctx context.Context, in *RequestReq, opts ...grpc.CallOption) (*RequestRes, error) + WriteFile func(ctx context.Context, in *WriteFileReq, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewHellomicroClient(cc grpc.ClientConnInterface) HellomicroClient + type HellomicroServer interface + Crash func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + DeleteFile func(context.Context, *DeleteFileReq) (*DeleteFileRes, error) + Echo func(context.Context, *emptypb.Empty) (*EchoRes, error) + Environments func(context.Context, *emptypb.Empty) (*EnvironmentsRes, error) + Exit func(context.Context, *ExitReq) (*emptypb.Empty, error) + Info func(context.Context, *emptypb.Empty) (*InfoRes, error) + Latency func(context.Context, *LatencyReq) (*emptypb.Empty, error) + ListFiles func(context.Context, *ListFilesReq) (*ListFilesRes, error) + Log func(context.Context, *LogReq) (*emptypb.Empty, error) + Panic func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + Ping func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + ReadFile func(context.Context, *ReadFileReq) (*ReadFileRes, error) + Request func(context.Context, *RequestReq) (*RequestRes, error) + WriteFile func(context.Context, *WriteFileReq) (*emptypb.Empty, error) + type InfoRes struct + Memory *InfoRes_Memory + NumCgoCall int64 + NumCpu int32 + NumGoRoutine int32 + Os string + Version string + func (*InfoRes) Descriptor() ([]byte, []int) + func (*InfoRes) ProtoMessage() + func (x *InfoRes) GetMemory() *InfoRes_Memory + func (x *InfoRes) GetNumCgoCall() int64 + func (x *InfoRes) GetNumCpu() int32 + func (x *InfoRes) GetNumGoRoutine() int32 + func (x *InfoRes) GetOs() string + func (x *InfoRes) GetVersion() string + func (x *InfoRes) ProtoReflect() protoreflect.Message + func (x *InfoRes) Reset() + func (x *InfoRes) String() string + type InfoRes_Memory struct + Alloc uint64 + NumGc uint32 + Sys uint64 + TotalAlloc uint64 + func (*InfoRes_Memory) Descriptor() ([]byte, []int) + func (*InfoRes_Memory) ProtoMessage() + func (x *InfoRes_Memory) GetAlloc() uint64 + func (x *InfoRes_Memory) GetNumGc() uint32 + func (x *InfoRes_Memory) GetSys() uint64 + func (x *InfoRes_Memory) GetTotalAlloc() uint64 + func (x *InfoRes_Memory) ProtoReflect() protoreflect.Message + func (x *InfoRes_Memory) Reset() + func (x *InfoRes_Memory) String() string + type LatencyReq struct + Duration int32 + func (*LatencyReq) Descriptor() ([]byte, []int) + func (*LatencyReq) ProtoMessage() + func (x *LatencyReq) GetDuration() int32 + func (x *LatencyReq) ProtoReflect() protoreflect.Message + func (x *LatencyReq) Reset() + func (x *LatencyReq) String() string + type ListFilesReq struct + Path string + func (*ListFilesReq) Descriptor() ([]byte, []int) + func (*ListFilesReq) ProtoMessage() + func (x *ListFilesReq) GetPath() string + func (x *ListFilesReq) ProtoReflect() protoreflect.Message + func (x *ListFilesReq) Reset() + func (x *ListFilesReq) String() string + type ListFilesRes struct + FileInfos []*FileInfo + func (*ListFilesRes) Descriptor() ([]byte, []int) + func (*ListFilesRes) ProtoMessage() + func (x *ListFilesRes) GetFileInfos() []*FileInfo + func (x *ListFilesRes) ProtoReflect() protoreflect.Message + func (x *ListFilesRes) Reset() + func (x *ListFilesRes) String() string + type LogReq struct + Count int32 + func (*LogReq) Descriptor() ([]byte, []int) + func (*LogReq) ProtoMessage() + func (x *LogReq) GetCount() int32 + func (x *LogReq) ProtoReflect() protoreflect.Message + func (x *LogReq) Reset() + func (x *LogReq) String() string + type ReadFileReq struct + func (*ReadFileReq) Descriptor() ([]byte, []int) + func (*ReadFileReq) ProtoMessage() + func (x *ReadFileReq) ProtoReflect() protoreflect.Message + func (x *ReadFileReq) Reset() + func (x *ReadFileReq) String() string + type ReadFileRes struct + func (*ReadFileRes) Descriptor() ([]byte, []int) + func (*ReadFileRes) ProtoMessage() + func (x *ReadFileRes) ProtoReflect() protoreflect.Message + func (x *ReadFileRes) Reset() + func (x *ReadFileRes) String() string + type RequestReq struct + Body string + Method string + Url string + func (*RequestReq) Descriptor() ([]byte, []int) + func (*RequestReq) ProtoMessage() + func (x *RequestReq) GetBody() string + func (x *RequestReq) GetMethod() string + func (x *RequestReq) GetUrl() string + func (x *RequestReq) ProtoReflect() protoreflect.Message + func (x *RequestReq) Reset() + func (x *RequestReq) String() string + type RequestRes struct + Body string + Headers map[string]*StringArray + StatusCode int32 + func (*RequestRes) Descriptor() ([]byte, []int) + func (*RequestRes) ProtoMessage() + func (x *RequestRes) GetBody() string + func (x *RequestRes) GetHeaders() map[string]*StringArray + func (x *RequestRes) GetStatusCode() int32 + func (x *RequestRes) ProtoReflect() protoreflect.Message + func (x *RequestRes) Reset() + func (x *RequestRes) String() string + type StringArray struct + Values []string + func (*StringArray) Descriptor() ([]byte, []int) + func (*StringArray) ProtoMessage() + func (x *StringArray) GetValues() []string + func (x *StringArray) ProtoReflect() protoreflect.Message + func (x *StringArray) Reset() + func (x *StringArray) String() string + type URL struct + ForceQuery bool + Fragment string + Host string + Opaque string + Password string + PasswordSet bool + Path string + RawFragment string + RawPath string + RawQuery string + Scheme string + Username string + func (*URL) Descriptor() ([]byte, []int) + func (*URL) ProtoMessage() + func (x *URL) GetForceQuery() bool + func (x *URL) GetFragment() string + func (x *URL) GetHost() string + func (x *URL) GetOpaque() string + func (x *URL) GetPassword() string + func (x *URL) GetPasswordSet() bool + func (x *URL) GetPath() string + func (x *URL) GetRawFragment() string + func (x *URL) GetRawPath() string + func (x *URL) GetRawQuery() string + func (x *URL) GetScheme() string + func (x *URL) GetUsername() string + func (x *URL) ProtoReflect() protoreflect.Message + func (x *URL) Reset() + func (x *URL) String() string + type UnimplementedHellomicroServer struct + func (UnimplementedHellomicroServer) Crash(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (UnimplementedHellomicroServer) DeleteFile(context.Context, *DeleteFileReq) (*DeleteFileRes, error) + func (UnimplementedHellomicroServer) Echo(context.Context, *emptypb.Empty) (*EchoRes, error) + func (UnimplementedHellomicroServer) Environments(context.Context, *emptypb.Empty) (*EnvironmentsRes, error) + func (UnimplementedHellomicroServer) Exit(context.Context, *ExitReq) (*emptypb.Empty, error) + func (UnimplementedHellomicroServer) Info(context.Context, *emptypb.Empty) (*InfoRes, error) + func (UnimplementedHellomicroServer) Latency(context.Context, *LatencyReq) (*emptypb.Empty, error) + func (UnimplementedHellomicroServer) ListFiles(context.Context, *ListFilesReq) (*ListFilesRes, error) + func (UnimplementedHellomicroServer) Log(context.Context, *LogReq) (*emptypb.Empty, error) + func (UnimplementedHellomicroServer) Panic(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (UnimplementedHellomicroServer) Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (UnimplementedHellomicroServer) ReadFile(context.Context, *ReadFileReq) (*ReadFileRes, error) + func (UnimplementedHellomicroServer) Request(context.Context, *RequestReq) (*RequestRes, error) + func (UnimplementedHellomicroServer) WriteFile(context.Context, *WriteFileReq) (*emptypb.Empty, error) + type UnsafeHellomicroServer interface + type WriteFileReq struct + Content []byte + Mode string + Path string + func (*WriteFileReq) Descriptor() ([]byte, []int) + func (*WriteFileReq) ProtoMessage() + func (x *WriteFileReq) GetContent() []byte + func (x *WriteFileReq) GetMode() string + func (x *WriteFileReq) GetPath() string + func (x *WriteFileReq) ProtoReflect() protoreflect.Message + func (x *WriteFileReq) Reset() + func (x *WriteFileReq) String() string