miiverse

package
v0.0.0-...-5fb484b Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Miiverse_SMMRequestPostId_FullMethodName = "/miiverse.Miiverse/SMMRequestPostId"
)

Variables

View Source
var File_miiverse_miiverse_service_proto protoreflect.FileDescriptor
View Source
var File_miiverse_smm_request_post_id_rpc_proto protoreflect.FileDescriptor
View Source
var Miiverse_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "miiverse.Miiverse",
	HandlerType: (*MiiverseServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SMMRequestPostId",
			Handler:    _Miiverse_SMMRequestPostId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "miiverse/miiverse_service.proto",
}

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

Functions

func RegisterMiiverseServer

func RegisterMiiverseServer(s grpc.ServiceRegistrar, srv MiiverseServer)

Types

type MiiverseClient

type MiiverseClient interface {
	// Used by Super Mario Maker
	SMMRequestPostId(ctx context.Context, in *SMMRequestPostIDRequest, opts ...grpc.CallOption) (*SMMRequestPostIDResponse, error)
}

MiiverseClient is the client API for Miiverse 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.

func NewMiiverseClient

func NewMiiverseClient(cc grpc.ClientConnInterface) MiiverseClient

type MiiverseServer

type MiiverseServer interface {
	// Used by Super Mario Maker
	SMMRequestPostId(context.Context, *SMMRequestPostIDRequest) (*SMMRequestPostIDResponse, error)
	// contains filtered or unexported methods
}

MiiverseServer is the server API for Miiverse service. All implementations must embed UnimplementedMiiverseServer for forward compatibility.

type SMMRequestPostIDRequest

type SMMRequestPostIDRequest struct {
	CourseId uint64 `protobuf:"varint,1,opt,name=course_id,json=courseId,proto3" json:"course_id,omitempty"` // TODO - Other course/user data?
	// contains filtered or unexported fields
}

func (*SMMRequestPostIDRequest) Descriptor deprecated

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

Deprecated: Use SMMRequestPostIDRequest.ProtoReflect.Descriptor instead.

func (*SMMRequestPostIDRequest) GetCourseId

func (x *SMMRequestPostIDRequest) GetCourseId() uint64

func (*SMMRequestPostIDRequest) ProtoMessage

func (*SMMRequestPostIDRequest) ProtoMessage()

func (*SMMRequestPostIDRequest) ProtoReflect

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

func (*SMMRequestPostIDRequest) Reset

func (x *SMMRequestPostIDRequest) Reset()

func (*SMMRequestPostIDRequest) String

func (x *SMMRequestPostIDRequest) String() string

type SMMRequestPostIDResponse

type SMMRequestPostIDResponse struct {
	PostId uint64 `protobuf:"varint,1,opt,name=post_id,json=postId,proto3" json:"post_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SMMRequestPostIDResponse) Descriptor deprecated

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

Deprecated: Use SMMRequestPostIDResponse.ProtoReflect.Descriptor instead.

func (*SMMRequestPostIDResponse) GetPostId

func (x *SMMRequestPostIDResponse) GetPostId() uint64

func (*SMMRequestPostIDResponse) ProtoMessage

func (*SMMRequestPostIDResponse) ProtoMessage()

func (*SMMRequestPostIDResponse) ProtoReflect

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

func (*SMMRequestPostIDResponse) Reset

func (x *SMMRequestPostIDResponse) Reset()

func (*SMMRequestPostIDResponse) String

func (x *SMMRequestPostIDResponse) String() string

type UnimplementedMiiverseServer

type UnimplementedMiiverseServer struct{}

UnimplementedMiiverseServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMiiverseServer) SMMRequestPostId

type UnsafeMiiverseServer

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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