snowflakev1

package
v0.0.0-...-dcc7ea8 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SnowflakeService_UniqueId_FullMethodName = "/snowflake.v1.SnowflakeService/UniqueId"
)

Variables

View Source
var File_snowflake_v1_snowflake_proto protoreflect.FileDescriptor
View Source
var SnowflakeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "snowflake.v1.SnowflakeService",
	HandlerType: (*SnowflakeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UniqueId",
			Handler:    _SnowflakeService_UniqueId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "snowflake/v1/snowflake.proto",
}

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

Functions

func RegisterSnowflakeServiceServer

func RegisterSnowflakeServiceServer(s grpc.ServiceRegistrar, srv SnowflakeServiceServer)

Types

type SnowflakeServiceClient

type SnowflakeServiceClient interface {
	// Sends a UniqueId request
	UniqueId(ctx context.Context, in *UniqueIdRequest, opts ...grpc.CallOption) (*UniqueIdResponse, error)
}

SnowflakeServiceClient is the client API for SnowflakeService 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.

type SnowflakeServiceServer

type SnowflakeServiceServer interface {
	// Sends a UniqueId request
	UniqueId(context.Context, *UniqueIdRequest) (*UniqueIdResponse, error)
}

SnowflakeServiceServer is the server API for SnowflakeService service. All implementations should embed UnimplementedSnowflakeServiceServer for forward compatibility

type UnimplementedSnowflakeServiceServer

type UnimplementedSnowflakeServiceServer struct {
}

UnimplementedSnowflakeServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSnowflakeServiceServer) UniqueId

type UniqueIdRequest

type UniqueIdRequest struct {

	// name ...
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*UniqueIdRequest) Descriptor deprecated

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

Deprecated: Use UniqueIdRequest.ProtoReflect.Descriptor instead.

func (*UniqueIdRequest) GetName

func (x *UniqueIdRequest) GetName() string

func (*UniqueIdRequest) ProtoMessage

func (*UniqueIdRequest) ProtoMessage()

func (*UniqueIdRequest) ProtoReflect

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

func (*UniqueIdRequest) Reset

func (x *UniqueIdRequest) Reset()

func (*UniqueIdRequest) String

func (x *UniqueIdRequest) String() string

type UniqueIdResponse

type UniqueIdResponse struct {

	// Uuid
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

The response message containing the greetings

func (*UniqueIdResponse) Descriptor deprecated

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

Deprecated: Use UniqueIdResponse.ProtoReflect.Descriptor instead.

func (*UniqueIdResponse) GetUuid

func (x *UniqueIdResponse) GetUuid() string

func (*UniqueIdResponse) ProtoMessage

func (*UniqueIdResponse) ProtoMessage()

func (*UniqueIdResponse) ProtoReflect

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

func (*UniqueIdResponse) Reset

func (x *UniqueIdResponse) Reset()

func (*UniqueIdResponse) String

func (x *UniqueIdResponse) String() string

type UnsafeSnowflakeServiceServer

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

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

Jump to

Keyboard shortcuts

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