resolvers

package
v0.0.1-beta2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: Apache-2.0 Imports: 31 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
	SDKContext   context.ClientProvider
	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