Loading CHANGELOG.md +3 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Added - Add cacheable cursor to channel message listings. ### Changed - Make metrics prefix configurable, default to fixed value. - Build with Go 1.15.5 release. Loading apigrpc/apigrpc.pb.go +3 −3 Original line number Diff line number Diff line Loading @@ -18,19 +18,19 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.13.0 // protoc v3.14.0 // source: apigrpc.proto package apigrpc import ( proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" api "github.com/heroiclabs/nakama-common/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" ) Loading Loading @@ -617,7 +617,7 @@ var file_apigrpc_proto_goTypes = []interface{}{ (*api.DeleteNotificationsRequest)(nil), // 17: nakama.api.DeleteNotificationsRequest (*api.DeleteStorageObjectsRequest)(nil), // 18: nakama.api.DeleteStorageObjectsRequest (*api.Event)(nil), // 19: nakama.api.Event (*empty.Empty)(nil), // 20: google.protobuf.Empty (*emptypb.Empty)(nil), // 20: google.protobuf.Empty (*api.GetUsersRequest)(nil), // 21: nakama.api.GetUsersRequest (*api.ImportFacebookFriendsRequest)(nil), // 22: nakama.api.ImportFacebookFriendsRequest (*api.JoinGroupRequest)(nil), // 23: nakama.api.JoinGroupRequest Loading apigrpc/apigrpc.pb.gw.go +5 −5 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ import ( "io" "net/http" "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "github.com/heroiclabs/nakama-common/api" Loading @@ -23,6 +22,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/emptypb" ) // Suppress "imported and not used" errors Loading Loading @@ -992,7 +992,7 @@ func local_request_Nakama_Event_0(ctx context.Context, marshaler runtime.Marshal } func request_Nakama_GetAccount_0(ctx context.Context, marshaler runtime.Marshaler, client NakamaClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetAccount(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) Loading @@ -1001,7 +1001,7 @@ func request_Nakama_GetAccount_0(ctx context.Context, marshaler runtime.Marshale } func local_request_Nakama_GetAccount_0(ctx context.Context, marshaler runtime.Marshaler, server NakamaServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetAccount(ctx, &protoReq) Loading Loading @@ -1046,7 +1046,7 @@ func local_request_Nakama_GetUsers_0(ctx context.Context, marshaler runtime.Mars } func request_Nakama_Healthcheck_0(ctx context.Context, marshaler runtime.Marshaler, client NakamaClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.Healthcheck(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) Loading @@ -1055,7 +1055,7 @@ func request_Nakama_Healthcheck_0(ctx context.Context, marshaler runtime.Marshal } func local_request_Nakama_Healthcheck_0(ctx context.Context, marshaler runtime.Marshaler, server NakamaServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.Healthcheck(ctx, &protoReq) Loading apigrpc/apigrpc.swagger.json +5 −1 Original line number Diff line number Diff line Loading @@ -3351,11 +3351,15 @@ }, "nextCursor": { "type": "string", "description": "The cursor to send when retireving the next page, if any." "description": "The cursor to send when retrieving the next page, if any." }, "prevCursor": { "type": "string", "description": "The cursor to send when retrieving the previous page, if any." }, "cacheableCursor": { "type": "string", "description": "Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors." } }, "description": "A list of channel messages, usually a result of a list operation." Loading apigrpc/apigrpc_grpc.pb.go +199 −199 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
CHANGELOG.md +3 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ All notable changes to this project are documented below. The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org). ## [Unreleased] ### Added - Add cacheable cursor to channel message listings. ### Changed - Make metrics prefix configurable, default to fixed value. - Build with Go 1.15.5 release. Loading
apigrpc/apigrpc.pb.go +3 −3 Original line number Diff line number Diff line Loading @@ -18,19 +18,19 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.25.0 // protoc v3.13.0 // protoc v3.14.0 // source: apigrpc.proto package apigrpc import ( proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" api "github.com/heroiclabs/nakama-common/api" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" reflect "reflect" ) Loading Loading @@ -617,7 +617,7 @@ var file_apigrpc_proto_goTypes = []interface{}{ (*api.DeleteNotificationsRequest)(nil), // 17: nakama.api.DeleteNotificationsRequest (*api.DeleteStorageObjectsRequest)(nil), // 18: nakama.api.DeleteStorageObjectsRequest (*api.Event)(nil), // 19: nakama.api.Event (*empty.Empty)(nil), // 20: google.protobuf.Empty (*emptypb.Empty)(nil), // 20: google.protobuf.Empty (*api.GetUsersRequest)(nil), // 21: nakama.api.GetUsersRequest (*api.ImportFacebookFriendsRequest)(nil), // 22: nakama.api.ImportFacebookFriendsRequest (*api.JoinGroupRequest)(nil), // 23: nakama.api.JoinGroupRequest Loading
apigrpc/apigrpc.pb.gw.go +5 −5 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ import ( "io" "net/http" "github.com/golang/protobuf/ptypes/empty" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "github.com/heroiclabs/nakama-common/api" Loading @@ -23,6 +22,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/emptypb" ) // Suppress "imported and not used" errors Loading Loading @@ -992,7 +992,7 @@ func local_request_Nakama_Event_0(ctx context.Context, marshaler runtime.Marshal } func request_Nakama_GetAccount_0(ctx context.Context, marshaler runtime.Marshaler, client NakamaClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.GetAccount(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) Loading @@ -1001,7 +1001,7 @@ func request_Nakama_GetAccount_0(ctx context.Context, marshaler runtime.Marshale } func local_request_Nakama_GetAccount_0(ctx context.Context, marshaler runtime.Marshaler, server NakamaServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.GetAccount(ctx, &protoReq) Loading Loading @@ -1046,7 +1046,7 @@ func local_request_Nakama_GetUsers_0(ctx context.Context, marshaler runtime.Mars } func request_Nakama_Healthcheck_0(ctx context.Context, marshaler runtime.Marshaler, client NakamaClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := client.Healthcheck(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) Loading @@ -1055,7 +1055,7 @@ func request_Nakama_Healthcheck_0(ctx context.Context, marshaler runtime.Marshal } func local_request_Nakama_Healthcheck_0(ctx context.Context, marshaler runtime.Marshaler, server NakamaServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq empty.Empty var protoReq emptypb.Empty var metadata runtime.ServerMetadata msg, err := server.Healthcheck(ctx, &protoReq) Loading
apigrpc/apigrpc.swagger.json +5 −1 Original line number Diff line number Diff line Loading @@ -3351,11 +3351,15 @@ }, "nextCursor": { "type": "string", "description": "The cursor to send when retireving the next page, if any." "description": "The cursor to send when retrieving the next page, if any." }, "prevCursor": { "type": "string", "description": "The cursor to send when retrieving the previous page, if any." }, "cacheableCursor": { "type": "string", "description": "Cacheable cursor to list newer messages. Durable and designed to be stored, unlike next/prev cursors." } }, "description": "A list of channel messages, usually a result of a list operation." Loading
apigrpc/apigrpc_grpc.pb.go +199 −199 File changed.Preview size limit exceeded, changes collapsed. Show changes