Documentation ¶
Index ¶
- Constants
- func NewGlobalKVSServiceHandler(svc GlobalKVSServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewLeaderBoardServiceHandler(svc LeaderBoardServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewLobbyServiceHandler(svc LobbyServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewMasterDataServiceHandler(svc MasterDataServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewPrivateKVSServiceHandler(svc PrivateKVSServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSessionServiceHandler(svc SessionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type GlobalKVSServiceClient
- type GlobalKVSServiceHandler
- type LeaderBoardServiceClient
- type LeaderBoardServiceHandler
- type LobbyServiceClient
- type LobbyServiceHandler
- type MasterDataServiceClient
- type MasterDataServiceHandler
- type PrivateKVSServiceClient
- type PrivateKVSServiceHandler
- type SessionServiceClient
- type SessionServiceHandler
- type UnimplementedGlobalKVSServiceHandler
- func (UnimplementedGlobalKVSServiceHandler) GetV1(context.Context, *connect.Request[api.GlobalKVSServiceGetV1Request]) (*connect.Response[api.GlobalKVSServiceGetV1Response], error)
- func (UnimplementedGlobalKVSServiceHandler) SetV1(context.Context, *connect.Request[api.GlobalKVSServiceSetV1Request]) (*connect.Response[api.GlobalKVSServiceSetV1Response], error)
- type UnimplementedLeaderBoardServiceHandler
- func (UnimplementedLeaderBoardServiceHandler) GetV1(context.Context, *connect.Request[api.LeaderBoardServiceGetV1Request]) (*connect.Response[api.LeaderBoardServiceGetV1Response], error)
- func (UnimplementedLeaderBoardServiceHandler) SubmitScoreV1(context.Context, *connect.Request[api.LeaderBoardServiceSubmitScoreV1Request]) (*connect.Response[api.LeaderBoardServiceSubmitScoreV1Response], error)
- type UnimplementedLobbyServiceHandler
- func (UnimplementedLobbyServiceHandler) CreateRoomV1(context.Context, *connect.Request[api.LobbyServiceCreateRoomV1Request]) (*connect.Response[api.LobbyServiceCreateRoomV1Response], error)
- func (UnimplementedLobbyServiceHandler) DeleteRoomV1(context.Context, *connect.Request[api.LobbyServiceDeleteRoomV1Request]) (*connect.Response[api.LobbyServiceDeleteRoomV1Response], error)
- func (UnimplementedLobbyServiceHandler) EditRoomV1(context.Context, *connect.Request[api.LobbyServiceEditRoomV1Request]) (*connect.Response[api.LobbyServiceEditRoomV1Response], error)
- func (UnimplementedLobbyServiceHandler) JoinRoomV1(context.Context, *connect.Request[api.LobbyServiceJoinRoomV1Request]) (*connect.Response[api.LobbyServiceJoinRoomV1Response], error)
- func (UnimplementedLobbyServiceHandler) LeaveRoomV1(context.Context, *connect.Request[api.LobbyServiceLeaveRoomV1Request]) (*connect.Response[api.LobbyServiceLeaveRoomV1Response], error)
- func (UnimplementedLobbyServiceHandler) SearchRoomsV1(context.Context, *connect.Request[api.LobbyServiceSearchRoomsV1Request]) (*connect.Response[api.LobbyServiceSearchRoomsV1Response], error)
- type UnimplementedMasterDataServiceHandler
- func (UnimplementedMasterDataServiceHandler) GetRevisionV1(context.Context, *connect.Request[api.MasterDataServiceGetRevisionV1Request]) (*connect.Response[api.MasterDataServiceGetRevisionV1Response], error)
- func (UnimplementedMasterDataServiceHandler) GetV1(context.Context, *connect.Request[api.MasterDataServiceGetV1Request]) (*connect.Response[api.MasterDataServiceGetV1Response], error)
- type UnimplementedPrivateKVSServiceHandler
- func (UnimplementedPrivateKVSServiceHandler) GetETagV1(context.Context, *connect.Request[api.PrivateKVSServiceGetETagV1Request]) (*connect.Response[api.PrivateKVSServiceGetETagV1Response], error)
- func (UnimplementedPrivateKVSServiceHandler) GetV1(context.Context, *connect.Request[api.PrivateKVSServiceGetV1Request]) (*connect.Response[api.PrivateKVSServiceGetV1Response], error)
- func (UnimplementedPrivateKVSServiceHandler) SetV1(context.Context, *connect.Request[api.PrivateKVSServiceSetV1Request]) (*connect.Response[api.PrivateKVSServiceSetV1Response], error)
- type UnimplementedSessionServiceHandler
- type UnimplementedUserServiceHandler
- func (UnimplementedUserServiceHandler) AccountDeleteV1(context.Context, *connect.Request[api.UserServiceAccountDeleteV1Request]) (*connect.Response[api.UserServiceAccountDeleteV1Response], error)
- func (UnimplementedUserServiceHandler) ActivateV1(context.Context, *connect.Request[api.UserServiceActivateV1Request]) (*connect.Response[api.UserServiceActivateV1Response], error)
- func (UnimplementedUserServiceHandler) EditProfileV1(context.Context, *connect.Request[api.UserServiceEditProfileV1Request]) (*connect.Response[api.UserServiceEditProfileV1Response], error)
- func (UnimplementedUserServiceHandler) SearchProfilesV1(context.Context, *connect.Request[api.UserServiceSearchProfilesV1Request]) (*connect.Response[api.UserServiceSearchProfilesV1Response], error)
- type UserServiceClient
- type UserServiceHandler
Constants ¶
const ( // GlobalKVSServiceGetV1Procedure is the fully-qualified name of the GlobalKVSService's GetV1 RPC. GlobalKVSServiceGetV1Procedure = "/api.GlobalKVSService/GetV1" // GlobalKVSServiceSetV1Procedure is the fully-qualified name of the GlobalKVSService's SetV1 RPC. GlobalKVSServiceSetV1Procedure = "/api.GlobalKVSService/SetV1" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // LeaderBoardServiceGetV1Procedure is the fully-qualified name of the LeaderBoardService's GetV1 // RPC. LeaderBoardServiceGetV1Procedure = "/api.LeaderBoardService/GetV1" // LeaderBoardServiceSubmitScoreV1Procedure is the fully-qualified name of the LeaderBoardService's // SubmitScoreV1 RPC. LeaderBoardServiceSubmitScoreV1Procedure = "/api.LeaderBoardService/SubmitScoreV1" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // LobbyServiceSearchRoomsV1Procedure is the fully-qualified name of the LobbyService's // SearchRoomsV1 RPC. LobbyServiceSearchRoomsV1Procedure = "/api.LobbyService/SearchRoomsV1" // LobbyServiceCreateRoomV1Procedure is the fully-qualified name of the LobbyService's CreateRoomV1 // RPC. LobbyServiceCreateRoomV1Procedure = "/api.LobbyService/CreateRoomV1" // LobbyServiceEditRoomV1Procedure is the fully-qualified name of the LobbyService's EditRoomV1 RPC. LobbyServiceEditRoomV1Procedure = "/api.LobbyService/EditRoomV1" // LobbyServiceDeleteRoomV1Procedure is the fully-qualified name of the LobbyService's DeleteRoomV1 // RPC. LobbyServiceDeleteRoomV1Procedure = "/api.LobbyService/DeleteRoomV1" // LobbyServiceJoinRoomV1Procedure is the fully-qualified name of the LobbyService's JoinRoomV1 RPC. LobbyServiceJoinRoomV1Procedure = "/api.LobbyService/JoinRoomV1" // LobbyServiceLeaveRoomV1Procedure is the fully-qualified name of the LobbyService's LeaveRoomV1 // RPC. LobbyServiceLeaveRoomV1Procedure = "/api.LobbyService/LeaveRoomV1" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // MasterDataServiceGetV1Procedure is the fully-qualified name of the MasterDataService's GetV1 RPC. MasterDataServiceGetV1Procedure = "/api.MasterDataService/GetV1" // MasterDataServiceGetRevisionV1Procedure is the fully-qualified name of the MasterDataService's // GetRevisionV1 RPC. MasterDataServiceGetRevisionV1Procedure = "/api.MasterDataService/GetRevisionV1" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // PrivateKVSServiceGetETagV1Procedure is the fully-qualified name of the PrivateKVSService's // GetETagV1 RPC. PrivateKVSServiceGetETagV1Procedure = "/api.PrivateKVSService/GetETagV1" // PrivateKVSServiceGetV1Procedure is the fully-qualified name of the PrivateKVSService's GetV1 RPC. PrivateKVSServiceGetV1Procedure = "/api.PrivateKVSService/GetV1" // PrivateKVSServiceSetV1Procedure is the fully-qualified name of the PrivateKVSService's SetV1 RPC. PrivateKVSServiceSetV1Procedure = "/api.PrivateKVSService/SetV1" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // UserServiceActivateV1Procedure is the fully-qualified name of the UserService's ActivateV1 RPC. UserServiceActivateV1Procedure = "/api.UserService/ActivateV1" // UserServiceSearchProfilesV1Procedure is the fully-qualified name of the UserService's // SearchProfilesV1 RPC. UserServiceSearchProfilesV1Procedure = "/api.UserService/SearchProfilesV1" // UserServiceEditProfileV1Procedure is the fully-qualified name of the UserService's EditProfileV1 // RPC. UserServiceEditProfileV1Procedure = "/api.UserService/EditProfileV1" // UserServiceAccountDeleteV1Procedure is the fully-qualified name of the UserService's // AccountDeleteV1 RPC. UserServiceAccountDeleteV1Procedure = "/api.UserService/AccountDeleteV1" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// GlobalKVSServiceName is the fully-qualified name of the GlobalKVSService service.
GlobalKVSServiceName = "api.GlobalKVSService"
)
const (
// LeaderBoardServiceName is the fully-qualified name of the LeaderBoardService service.
LeaderBoardServiceName = "api.LeaderBoardService"
)
const (
// LobbyServiceName is the fully-qualified name of the LobbyService service.
LobbyServiceName = "api.LobbyService"
)
const (
// MasterDataServiceName is the fully-qualified name of the MasterDataService service.
MasterDataServiceName = "api.MasterDataService"
)
const (
// PrivateKVSServiceName is the fully-qualified name of the PrivateKVSService service.
PrivateKVSServiceName = "api.PrivateKVSService"
)
const ( // SessionServiceAuthorizeV1Procedure is the fully-qualified name of the SessionService's // AuthorizeV1 RPC. SessionServiceAuthorizeV1Procedure = "/api.SessionService/AuthorizeV1" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// SessionServiceName is the fully-qualified name of the SessionService service.
SessionServiceName = "api.SessionService"
)
const (
// UserServiceName is the fully-qualified name of the UserService service.
UserServiceName = "api.UserService"
)
Variables ¶
This section is empty.
Functions ¶
func NewGlobalKVSServiceHandler ¶
func NewGlobalKVSServiceHandler(svc GlobalKVSServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewGlobalKVSServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewLeaderBoardServiceHandler ¶ added in v0.2.0
func NewLeaderBoardServiceHandler(svc LeaderBoardServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewLeaderBoardServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewLobbyServiceHandler ¶ added in v0.3.0
func NewLobbyServiceHandler(svc LobbyServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewLobbyServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewMasterDataServiceHandler ¶ added in v0.3.0
func NewMasterDataServiceHandler(svc MasterDataServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewMasterDataServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewPrivateKVSServiceHandler ¶
func NewPrivateKVSServiceHandler(svc PrivateKVSServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewPrivateKVSServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSessionServiceHandler ¶
func NewSessionServiceHandler(svc SessionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSessionServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewUserServiceHandler ¶
func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewUserServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type GlobalKVSServiceClient ¶
type GlobalKVSServiceClient interface { // KVS のエントリを検索します。 // ただし、検索条件が空の場合は空リストを返します。 GetV1(context.Context, *connect.Request[api.GlobalKVSServiceGetV1Request]) (*connect.Response[api.GlobalKVSServiceGetV1Response], error) // KVS にエントリを登録します。 // エントリの作成、更新、削除を行うことが可能で、value が空のエントリは削除されます。 SetV1(context.Context, *connect.Request[api.GlobalKVSServiceSetV1Request]) (*connect.Response[api.GlobalKVSServiceSetV1Response], error) }
GlobalKVSServiceClient is a client for the api.GlobalKVSService service.
func NewGlobalKVSServiceClient ¶
func NewGlobalKVSServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) GlobalKVSServiceClient
NewGlobalKVSServiceClient constructs a client for the api.GlobalKVSService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type GlobalKVSServiceHandler ¶
type GlobalKVSServiceHandler interface { // KVS のエントリを検索します。 // ただし、検索条件が空の場合は空リストを返します。 GetV1(context.Context, *connect.Request[api.GlobalKVSServiceGetV1Request]) (*connect.Response[api.GlobalKVSServiceGetV1Response], error) // KVS にエントリを登録します。 // エントリの作成、更新、削除を行うことが可能で、value が空のエントリは削除されます。 SetV1(context.Context, *connect.Request[api.GlobalKVSServiceSetV1Request]) (*connect.Response[api.GlobalKVSServiceSetV1Response], error) }
GlobalKVSServiceHandler is an implementation of the api.GlobalKVSService service.
type LeaderBoardServiceClient ¶ added in v0.2.0
type LeaderBoardServiceClient interface { GetV1(context.Context, *connect.Request[api.LeaderBoardServiceGetV1Request]) (*connect.Response[api.LeaderBoardServiceGetV1Response], error) SubmitScoreV1(context.Context, *connect.Request[api.LeaderBoardServiceSubmitScoreV1Request]) (*connect.Response[api.LeaderBoardServiceSubmitScoreV1Response], error) }
LeaderBoardServiceClient is a client for the api.LeaderBoardService service.
func NewLeaderBoardServiceClient ¶ added in v0.2.0
func NewLeaderBoardServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) LeaderBoardServiceClient
NewLeaderBoardServiceClient constructs a client for the api.LeaderBoardService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type LeaderBoardServiceHandler ¶ added in v0.2.0
type LeaderBoardServiceHandler interface { GetV1(context.Context, *connect.Request[api.LeaderBoardServiceGetV1Request]) (*connect.Response[api.LeaderBoardServiceGetV1Response], error) SubmitScoreV1(context.Context, *connect.Request[api.LeaderBoardServiceSubmitScoreV1Request]) (*connect.Response[api.LeaderBoardServiceSubmitScoreV1Response], error) }
LeaderBoardServiceHandler is an implementation of the api.LeaderBoardService service.
type LobbyServiceClient ¶ added in v0.3.0
type LobbyServiceClient interface { SearchRoomsV1(context.Context, *connect.Request[api.LobbyServiceSearchRoomsV1Request]) (*connect.Response[api.LobbyServiceSearchRoomsV1Response], error) CreateRoomV1(context.Context, *connect.Request[api.LobbyServiceCreateRoomV1Request]) (*connect.Response[api.LobbyServiceCreateRoomV1Response], error) EditRoomV1(context.Context, *connect.Request[api.LobbyServiceEditRoomV1Request]) (*connect.Response[api.LobbyServiceEditRoomV1Response], error) DeleteRoomV1(context.Context, *connect.Request[api.LobbyServiceDeleteRoomV1Request]) (*connect.Response[api.LobbyServiceDeleteRoomV1Response], error) JoinRoomV1(context.Context, *connect.Request[api.LobbyServiceJoinRoomV1Request]) (*connect.Response[api.LobbyServiceJoinRoomV1Response], error) LeaveRoomV1(context.Context, *connect.Request[api.LobbyServiceLeaveRoomV1Request]) (*connect.Response[api.LobbyServiceLeaveRoomV1Response], error) }
LobbyServiceClient is a client for the api.LobbyService service.
func NewLobbyServiceClient ¶ added in v0.3.0
func NewLobbyServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) LobbyServiceClient
NewLobbyServiceClient constructs a client for the api.LobbyService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type LobbyServiceHandler ¶ added in v0.3.0
type LobbyServiceHandler interface { SearchRoomsV1(context.Context, *connect.Request[api.LobbyServiceSearchRoomsV1Request]) (*connect.Response[api.LobbyServiceSearchRoomsV1Response], error) CreateRoomV1(context.Context, *connect.Request[api.LobbyServiceCreateRoomV1Request]) (*connect.Response[api.LobbyServiceCreateRoomV1Response], error) EditRoomV1(context.Context, *connect.Request[api.LobbyServiceEditRoomV1Request]) (*connect.Response[api.LobbyServiceEditRoomV1Response], error) DeleteRoomV1(context.Context, *connect.Request[api.LobbyServiceDeleteRoomV1Request]) (*connect.Response[api.LobbyServiceDeleteRoomV1Response], error) JoinRoomV1(context.Context, *connect.Request[api.LobbyServiceJoinRoomV1Request]) (*connect.Response[api.LobbyServiceJoinRoomV1Response], error) LeaveRoomV1(context.Context, *connect.Request[api.LobbyServiceLeaveRoomV1Request]) (*connect.Response[api.LobbyServiceLeaveRoomV1Response], error) }
LobbyServiceHandler is an implementation of the api.LobbyService service.
type MasterDataServiceClient ¶ added in v0.3.0
type MasterDataServiceClient interface { // 現在アクティブなマスターデータを取得します。 GetV1(context.Context, *connect.Request[api.MasterDataServiceGetV1Request]) (*connect.Response[api.MasterDataServiceGetV1Response], error) // 現在アクティブなマスターリビジョンを取得します。 GetRevisionV1(context.Context, *connect.Request[api.MasterDataServiceGetRevisionV1Request]) (*connect.Response[api.MasterDataServiceGetRevisionV1Response], error) }
MasterDataServiceClient is a client for the api.MasterDataService service.
func NewMasterDataServiceClient ¶ added in v0.3.0
func NewMasterDataServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MasterDataServiceClient
NewMasterDataServiceClient constructs a client for the api.MasterDataService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type MasterDataServiceHandler ¶ added in v0.3.0
type MasterDataServiceHandler interface { // 現在アクティブなマスターデータを取得します。 GetV1(context.Context, *connect.Request[api.MasterDataServiceGetV1Request]) (*connect.Response[api.MasterDataServiceGetV1Response], error) // 現在アクティブなマスターリビジョンを取得します。 GetRevisionV1(context.Context, *connect.Request[api.MasterDataServiceGetRevisionV1Request]) (*connect.Response[api.MasterDataServiceGetRevisionV1Response], error) }
MasterDataServiceHandler is an implementation of the api.MasterDataService service.
type PrivateKVSServiceClient ¶
type PrivateKVSServiceClient interface { GetETagV1(context.Context, *connect.Request[api.PrivateKVSServiceGetETagV1Request]) (*connect.Response[api.PrivateKVSServiceGetETagV1Response], error) // KVS のエントリを検索します。 // ただし、検索条件が空の場合は空リストを返します。 GetV1(context.Context, *connect.Request[api.PrivateKVSServiceGetV1Request]) (*connect.Response[api.PrivateKVSServiceGetV1Response], error) // KVS にエントリを登録します。 // エントリの作成、更新、削除を行うことが可能で、value が空のエントリは削除されます。 SetV1(context.Context, *connect.Request[api.PrivateKVSServiceSetV1Request]) (*connect.Response[api.PrivateKVSServiceSetV1Response], error) }
PrivateKVSServiceClient is a client for the api.PrivateKVSService service.
func NewPrivateKVSServiceClient ¶
func NewPrivateKVSServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) PrivateKVSServiceClient
NewPrivateKVSServiceClient constructs a client for the api.PrivateKVSService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type PrivateKVSServiceHandler ¶
type PrivateKVSServiceHandler interface { GetETagV1(context.Context, *connect.Request[api.PrivateKVSServiceGetETagV1Request]) (*connect.Response[api.PrivateKVSServiceGetETagV1Response], error) // KVS のエントリを検索します。 // ただし、検索条件が空の場合は空リストを返します。 GetV1(context.Context, *connect.Request[api.PrivateKVSServiceGetV1Request]) (*connect.Response[api.PrivateKVSServiceGetV1Response], error) // KVS にエントリを登録します。 // エントリの作成、更新、削除を行うことが可能で、value が空のエントリは削除されます。 SetV1(context.Context, *connect.Request[api.PrivateKVSServiceSetV1Request]) (*connect.Response[api.PrivateKVSServiceSetV1Response], error) }
PrivateKVSServiceHandler is an implementation of the api.PrivateKVSService service.
type SessionServiceClient ¶
type SessionServiceClient interface { // ID トークンを検証し、セッションを作成します。 // サインインとサインアップが統合されており、初回実行時はユーザ作成も同時に行います。 AuthorizeV1(context.Context, *connect.Request[api.SessionServiceAuthorizeV1Request]) (*connect.Response[api.SessionServiceAuthorizeV1Response], error) }
SessionServiceClient is a client for the api.SessionService service.
func NewSessionServiceClient ¶
func NewSessionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SessionServiceClient
NewSessionServiceClient constructs a client for the api.SessionService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SessionServiceHandler ¶
type SessionServiceHandler interface { // ID トークンを検証し、セッションを作成します。 // サインインとサインアップが統合されており、初回実行時はユーザ作成も同時に行います。 AuthorizeV1(context.Context, *connect.Request[api.SessionServiceAuthorizeV1Request]) (*connect.Response[api.SessionServiceAuthorizeV1Response], error) }
SessionServiceHandler is an implementation of the api.SessionService service.
type UnimplementedGlobalKVSServiceHandler ¶
type UnimplementedGlobalKVSServiceHandler struct{}
UnimplementedGlobalKVSServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedLeaderBoardServiceHandler ¶ added in v0.2.0
type UnimplementedLeaderBoardServiceHandler struct{}
UnimplementedLeaderBoardServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedLeaderBoardServiceHandler) SubmitScoreV1 ¶ added in v0.2.0
type UnimplementedLobbyServiceHandler ¶ added in v0.3.0
type UnimplementedLobbyServiceHandler struct{}
UnimplementedLobbyServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedLobbyServiceHandler) CreateRoomV1 ¶ added in v0.3.0
func (UnimplementedLobbyServiceHandler) CreateRoomV1(context.Context, *connect.Request[api.LobbyServiceCreateRoomV1Request]) (*connect.Response[api.LobbyServiceCreateRoomV1Response], error)
func (UnimplementedLobbyServiceHandler) DeleteRoomV1 ¶ added in v0.3.0
func (UnimplementedLobbyServiceHandler) DeleteRoomV1(context.Context, *connect.Request[api.LobbyServiceDeleteRoomV1Request]) (*connect.Response[api.LobbyServiceDeleteRoomV1Response], error)
func (UnimplementedLobbyServiceHandler) EditRoomV1 ¶ added in v0.3.0
func (UnimplementedLobbyServiceHandler) EditRoomV1(context.Context, *connect.Request[api.LobbyServiceEditRoomV1Request]) (*connect.Response[api.LobbyServiceEditRoomV1Response], error)
func (UnimplementedLobbyServiceHandler) JoinRoomV1 ¶ added in v0.3.0
func (UnimplementedLobbyServiceHandler) JoinRoomV1(context.Context, *connect.Request[api.LobbyServiceJoinRoomV1Request]) (*connect.Response[api.LobbyServiceJoinRoomV1Response], error)
func (UnimplementedLobbyServiceHandler) LeaveRoomV1 ¶ added in v0.3.0
func (UnimplementedLobbyServiceHandler) LeaveRoomV1(context.Context, *connect.Request[api.LobbyServiceLeaveRoomV1Request]) (*connect.Response[api.LobbyServiceLeaveRoomV1Response], error)
func (UnimplementedLobbyServiceHandler) SearchRoomsV1 ¶ added in v0.3.0
func (UnimplementedLobbyServiceHandler) SearchRoomsV1(context.Context, *connect.Request[api.LobbyServiceSearchRoomsV1Request]) (*connect.Response[api.LobbyServiceSearchRoomsV1Response], error)
type UnimplementedMasterDataServiceHandler ¶ added in v0.3.0
type UnimplementedMasterDataServiceHandler struct{}
UnimplementedMasterDataServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedMasterDataServiceHandler) GetRevisionV1 ¶ added in v0.3.0
type UnimplementedPrivateKVSServiceHandler ¶
type UnimplementedPrivateKVSServiceHandler struct{}
UnimplementedPrivateKVSServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedSessionServiceHandler ¶
type UnimplementedSessionServiceHandler struct{}
UnimplementedSessionServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSessionServiceHandler) AuthorizeV1 ¶
func (UnimplementedSessionServiceHandler) AuthorizeV1(context.Context, *connect.Request[api.SessionServiceAuthorizeV1Request]) (*connect.Response[api.SessionServiceAuthorizeV1Response], error)
type UnimplementedUserServiceHandler ¶
type UnimplementedUserServiceHandler struct{}
UnimplementedUserServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedUserServiceHandler) AccountDeleteV1 ¶ added in v0.2.0
func (UnimplementedUserServiceHandler) AccountDeleteV1(context.Context, *connect.Request[api.UserServiceAccountDeleteV1Request]) (*connect.Response[api.UserServiceAccountDeleteV1Response], error)
func (UnimplementedUserServiceHandler) ActivateV1 ¶
func (UnimplementedUserServiceHandler) ActivateV1(context.Context, *connect.Request[api.UserServiceActivateV1Request]) (*connect.Response[api.UserServiceActivateV1Response], error)
func (UnimplementedUserServiceHandler) EditProfileV1 ¶
func (UnimplementedUserServiceHandler) EditProfileV1(context.Context, *connect.Request[api.UserServiceEditProfileV1Request]) (*connect.Response[api.UserServiceEditProfileV1Response], error)
func (UnimplementedUserServiceHandler) SearchProfilesV1 ¶ added in v0.3.0
func (UnimplementedUserServiceHandler) SearchProfilesV1(context.Context, *connect.Request[api.UserServiceSearchProfilesV1Request]) (*connect.Response[api.UserServiceSearchProfilesV1Response], error)
type UserServiceClient ¶
type UserServiceClient interface { // プロフィール設定/言語設定などの初期設定が完了したら、この API を呼び出してください。 // ユーザがアクティベートされるまで、ユーザのプロフィールは非公開になります。 ActivateV1(context.Context, *connect.Request[api.UserServiceActivateV1Request]) (*connect.Response[api.UserServiceActivateV1Response], error) // プロフィールを検索します。 SearchProfilesV1(context.Context, *connect.Request[api.UserServiceSearchProfilesV1Request]) (*connect.Response[api.UserServiceSearchProfilesV1Response], error) // プロフィールを編集します。 EditProfileV1(context.Context, *connect.Request[api.UserServiceEditProfileV1Request]) (*connect.Response[api.UserServiceEditProfileV1Response], error) // 退会処理を行います。 // アカウントは永続的に削除され、復元することはできません。 AccountDeleteV1(context.Context, *connect.Request[api.UserServiceAccountDeleteV1Request]) (*connect.Response[api.UserServiceAccountDeleteV1Response], error) }
UserServiceClient is a client for the api.UserService service.
func NewUserServiceClient ¶
func NewUserServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UserServiceClient
NewUserServiceClient constructs a client for the api.UserService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type UserServiceHandler ¶
type UserServiceHandler interface { // プロフィール設定/言語設定などの初期設定が完了したら、この API を呼び出してください。 // ユーザがアクティベートされるまで、ユーザのプロフィールは非公開になります。 ActivateV1(context.Context, *connect.Request[api.UserServiceActivateV1Request]) (*connect.Response[api.UserServiceActivateV1Response], error) // プロフィールを検索します。 SearchProfilesV1(context.Context, *connect.Request[api.UserServiceSearchProfilesV1Request]) (*connect.Response[api.UserServiceSearchProfilesV1Response], error) // プロフィールを編集します。 EditProfileV1(context.Context, *connect.Request[api.UserServiceEditProfileV1Request]) (*connect.Response[api.UserServiceEditProfileV1Response], error) // 退会処理を行います。 // アカウントは永続的に削除され、復元することはできません。 AccountDeleteV1(context.Context, *connect.Request[api.UserServiceAccountDeleteV1Request]) (*connect.Response[api.UserServiceAccountDeleteV1Response], error) }
UserServiceHandler is an implementation of the api.UserService service.