resolvers

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseX509Certificate

func ParseX509Certificate(contents []byte) (*x509.Certificate, error)

Types

type Resolver

type Resolver struct {
	SDK           *fabsdk.FabricSDK
	GWClient      *client.Gateway
	SDKContext    context.ClientProvider
	SDKContextMap map[string]context.ClientProvider
	ConfigBackend core.ConfigProvider
	Channel       string
	MSPClient     *clientmsp.Client
	CAConfig      *msp.CAConfig
	Organization  string
	User          string
}

func (*Resolver) Mutation

func (r *Resolver) Mutation() gql.MutationResolver

Mutation returns gql.MutationResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() gql.QueryResolver

Query returns gql.QueryResolver implementation.

Jump to

Keyboard shortcuts

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