gin

package
v1.17.12 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardResponseMessage

func ForwardResponseMessage(ctx *gin.Context, md grpc.ServerMetadata, message proto.Message)

func RegisterOauthServiceHandlerServer

func RegisterOauthServiceHandlerServer(r *gin.Engine, server OauthServiceServer)

Types

type OauthServiceServer

type OauthServiceServer interface {
	OauthAuthorize(context.Context, *oauth.OauthReq) (*response.HttpResponse, error)
	OauthToken(context.Context, *oauth.OauthReq) (*response.HttpResponse, error)
}

Jump to

Keyboard shortcuts

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