grpc

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interception

type Interception int

Interception is the type of interception

const (
	RefreshToken Interception = iota
	AccessToken
	None
)

Interception values

type Method

type Method struct {
	Name string
}

Method is the gRPC method Name

func NewMethod

func NewMethod(name string) Method

NewMethod creates a new Method

func (Method) RequestString

func (g Method) RequestString() string

RequestString returns the string representation of the Method for the request

func (Method) ResponseString

func (g Method) ResponseString() string

ResponseString returns the string representation of the Method for the response

func (Method) String

func (g Method) String() string

String returns the string representation of the Method

Jump to

Keyboard shortcuts

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