Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenSource ¶
Types ¶
type Authorizer ¶
type GRPCServer ¶
func GRPC ¶
func GRPC(opts ...Option) *GRPCServer
func (*GRPCServer) Gateway ¶
func (server *GRPCServer) Gateway(fn func(context.Context, *runtime.ServeMux, string, []grpc.DialOption) error)
func (*GRPCServer) Serve ¶
func (server *GRPCServer) Serve()
type Option ¶
type Option func(cnf *config)
Option of a Cloud Run server.
func WithAuth ¶
func WithAuth(auth Authorizer) Option
func WithCORS ¶
WithCORS configures valid CORS origins for grpc-gateway APIs. Only valid with the GRPC() constructor.
func WithGRPCOptions ¶
func WithGRPCOptions(opts ...grpc.ServerOption) Option
WithGRPCOptions configures GRPC server options. Only valid with the GRPC() constructor.
func WithProfiler ¶
func WithProfiler() Option
WithProfiler enables the Google Cloud Profiler for the application.
func WithQueues ¶
WithQueues initializes and configures the queues.
func WithRoutingOptions ¶
func WithRoutingOptions(opts ...routing.ServerOption) Option
WithRoutingOptions configures web server options. Only valid with the Web() constructor.
Click to show internal directories.
Click to hide internal directories.