rpccontext

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCContext

type RPCContext struct {
	Identity           string
	DefaultChainURL    string
	HTTPPort           string
	CustomMethodHolder *customrpcmethods.CustomMethodHolder
	UseAttestation     bool
	SigningKey         ssh.Signer
	Logger             *slog.Logger
}

func (*RPCContext) EnableAttestation

func (c *RPCContext) EnableAttestation(keyFile, keyFilePassword, identity string)

func (*RPCContext) Handler

func (c *RPCContext) Handler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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