pb

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protocol_proto protoreflect.FileDescriptor

Functions

func CPServiceClientType

func CPServiceClientType() reflect.Type

CPServiceClientType .

func CPServiceHandlerType

func CPServiceHandlerType() reflect.Type

CPServiceHandlerType .

func CPServiceServerType

func CPServiceServerType() reflect.Type

CPServiceServerType .

func RegisterCPServiceHandler

func RegisterCPServiceHandler(r http.Router, srv CPServiceHandler, opts ...http.HandleOption)

RegisterCPServiceHandler register CPServiceHandler to http.Router.

func RegisterCPServiceImp

func RegisterCPServiceImp(regester transport.Register, srv CPServiceServer, opts ...transport.ServiceOption)

RegisterCPServiceImp protocol.proto

func RegisterCPServiceServer

func RegisterCPServiceServer(s grpc1.ServiceRegistrar, srv CPServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type CPServiceClient

type CPServiceClient interface {
	Render(ctx context.Context, in *RenderRequest, opts ...grpc.CallOption) (*RenderResponse, error)
}

CPServiceClient is the client API for CPService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CPServiceHandler

type CPServiceHandler interface {
	// POST /api/component-protocol/actions/render
	Render(context.Context, *RenderRequest) (*RenderResponse, error)
}

CPServiceHandler is the server API for CPService service.

type CPServiceServer

type CPServiceServer interface {
	Render(context.Context, *RenderRequest) (*RenderResponse, error)
}

CPServiceServer is the server API for CPService service. All implementations should embed UnimplementedCPServiceServer for forward compatibility

type Component

type Component struct {

	// type of the component.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// name of the component.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// props is component's fixed properties, such as: table columns definition.
	Props *structpb.Value `protobuf:"bytes,3,opt,name=props,proto3" json:"props,omitempty"`
	// state is component's flexible properties, such as: table pageNo/pageSize.
	State map[string]*structpb.Value `` /* 151-byte string literal not displayed */
	// data is component's business data.
	Data map[string]*structpb.Value `` /* 149-byte string literal not displayed */
	// operations of the component.
	Operations map[string]*structpb.Value `` /* 161-byte string literal not displayed */
	// options of the component.
	Options *ComponentOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	// version of the component.
	Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Component defines a component.

func (*Component) Descriptor deprecated

func (*Component) Descriptor() ([]byte, []int)

Deprecated: Use Component.ProtoReflect.Descriptor instead.

func (*Component) GetData

func (x *Component) GetData() map[string]*structpb.Value

func (*Component) GetName

func (x *Component) GetName() string

func (*Component) GetOperations

func (x *Component) GetOperations() map[string]*structpb.Value

func (*Component) GetOptions

func (x *Component) GetOptions() *ComponentOptions

func (*Component) GetProps

func (x *Component) GetProps() *structpb.Value

func (*Component) GetState

func (x *Component) GetState() map[string]*structpb.Value

func (*Component) GetType

func (x *Component) GetType() string

func (*Component) GetVersion

func (x *Component) GetVersion() string

func (*Component) MarshalJSON

func (m *Component) MarshalJSON() ([]byte, error)

Component implement json.Marshaler.

func (*Component) ProtoMessage

func (*Component) ProtoMessage()

func (*Component) ProtoReflect

func (x *Component) ProtoReflect() protoreflect.Message

func (*Component) Reset

func (x *Component) Reset()

func (*Component) String

func (x *Component) String() string

func (*Component) UnmarshalJSON

func (m *Component) UnmarshalJSON(b []byte) error

Component implement json.Marshaler.

func (*Component) UnmarshalURLValues

func (m *Component) UnmarshalURLValues(prefix string, values url.Values) error

Component implement urlenc.URLValuesUnmarshaler.

func (*Component) Validate

func (this *Component) Validate() error

type ComponentEvent

type ComponentEvent struct {

	// component name.
	Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"`
	// operation key.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// operationData contains operation details.
	OperationData map[string]*structpb.Value `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

ComponentEvent .

func (*ComponentEvent) Descriptor deprecated

func (*ComponentEvent) Descriptor() ([]byte, []int)

Deprecated: Use ComponentEvent.ProtoReflect.Descriptor instead.

func (*ComponentEvent) GetComponent

func (x *ComponentEvent) GetComponent() string

func (*ComponentEvent) GetOperation

func (x *ComponentEvent) GetOperation() string

func (*ComponentEvent) GetOperationData

func (x *ComponentEvent) GetOperationData() map[string]*structpb.Value

func (*ComponentEvent) MarshalJSON

func (m *ComponentEvent) MarshalJSON() ([]byte, error)

ComponentEvent implement json.Marshaler.

func (*ComponentEvent) ProtoMessage

func (*ComponentEvent) ProtoMessage()

func (*ComponentEvent) ProtoReflect

func (x *ComponentEvent) ProtoReflect() protoreflect.Message

func (*ComponentEvent) Reset

func (x *ComponentEvent) Reset()

func (*ComponentEvent) String

func (x *ComponentEvent) String() string

func (*ComponentEvent) UnmarshalJSON

func (m *ComponentEvent) UnmarshalJSON(b []byte) error

ComponentEvent implement json.Marshaler.

func (*ComponentEvent) UnmarshalURLValues

func (m *ComponentEvent) UnmarshalURLValues(prefix string, values url.Values) error

ComponentEvent implement urlenc.URLValuesUnmarshaler.

func (*ComponentEvent) Validate

func (this *ComponentEvent) Validate() error

type ComponentOptions

type ComponentOptions struct {
	Visible             bool `protobuf:"varint,1,opt,name=visible,proto3" json:"visible,omitempty"`
	AsyncAtInit         bool `protobuf:"varint,2,opt,name=asyncAtInit,proto3" json:"asyncAtInit,omitempty"`
	FlatMeta            bool `protobuf:"varint,3,opt,name=flatMeta,proto3" json:"flatMeta,omitempty"`
	RemoveMetaAfterFlat bool `protobuf:"varint,4,opt,name=removeMetaAfterFlat,proto3" json:"removeMetaAfterFlat,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentOptions) Descriptor deprecated

func (*ComponentOptions) Descriptor() ([]byte, []int)

Deprecated: Use ComponentOptions.ProtoReflect.Descriptor instead.

func (*ComponentOptions) GetAsyncAtInit

func (x *ComponentOptions) GetAsyncAtInit() bool

func (*ComponentOptions) GetFlatMeta

func (x *ComponentOptions) GetFlatMeta() bool

func (*ComponentOptions) GetRemoveMetaAfterFlat

func (x *ComponentOptions) GetRemoveMetaAfterFlat() bool

func (*ComponentOptions) GetVisible

func (x *ComponentOptions) GetVisible() bool

func (*ComponentOptions) MarshalJSON

func (m *ComponentOptions) MarshalJSON() ([]byte, error)

ComponentOptions implement json.Marshaler.

func (*ComponentOptions) ProtoMessage

func (*ComponentOptions) ProtoMessage()

func (*ComponentOptions) ProtoReflect

func (x *ComponentOptions) ProtoReflect() protoreflect.Message

func (*ComponentOptions) Reset

func (x *ComponentOptions) Reset()

func (*ComponentOptions) String

func (x *ComponentOptions) String() string

func (*ComponentOptions) UnmarshalJSON

func (m *ComponentOptions) UnmarshalJSON(b []byte) error

ComponentOptions implement json.Marshaler.

func (*ComponentOptions) UnmarshalURLValues

func (m *ComponentOptions) UnmarshalURLValues(prefix string, values url.Values) error

ComponentOptions implement urlenc.URLValuesUnmarshaler.

func (*ComponentOptions) Validate

func (this *ComponentOptions) Validate() error

type ComponentProtocol

type ComponentProtocol struct {

	// version is protocol version.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// scenario used to distinguish concrete scenario.
	Scenario string `protobuf:"bytes,2,opt,name=scenario,proto3" json:"scenario,omitempty"`
	// globalState stores global states for all components.
	GlobalState map[string]*structpb.Value `` /* 174-byte string literal not displayed */
	// hierarchy represents components' hierarchy.
	Hierarchy *Hierarchy `protobuf:"bytes,4,opt,name=hierarchy,proto3" json:"hierarchy,omitempty"`
	// components contains all rendered components.
	Components map[string]*Component `` /* 161-byte string literal not displayed */
	// rendering represents components rendering definitions.
	Rendering map[string]*structpb.ListValue `` /* 159-byte string literal not displayed */
	// options
	Options *ProtocolOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

component-protocol definition.

func (*ComponentProtocol) Descriptor deprecated

func (*ComponentProtocol) Descriptor() ([]byte, []int)

Deprecated: Use ComponentProtocol.ProtoReflect.Descriptor instead.

func (*ComponentProtocol) GetComponents

func (x *ComponentProtocol) GetComponents() map[string]*Component

func (*ComponentProtocol) GetGlobalState

func (x *ComponentProtocol) GetGlobalState() map[string]*structpb.Value

func (*ComponentProtocol) GetHierarchy

func (x *ComponentProtocol) GetHierarchy() *Hierarchy

func (*ComponentProtocol) GetOptions

func (x *ComponentProtocol) GetOptions() *ProtocolOptions

func (*ComponentProtocol) GetRendering

func (x *ComponentProtocol) GetRendering() map[string]*structpb.ListValue

func (*ComponentProtocol) GetScenario

func (x *ComponentProtocol) GetScenario() string

func (*ComponentProtocol) GetVersion

func (x *ComponentProtocol) GetVersion() string

func (*ComponentProtocol) MarshalJSON

func (m *ComponentProtocol) MarshalJSON() ([]byte, error)

ComponentProtocol implement json.Marshaler.

func (*ComponentProtocol) ProtoMessage

func (*ComponentProtocol) ProtoMessage()

func (*ComponentProtocol) ProtoReflect

func (x *ComponentProtocol) ProtoReflect() protoreflect.Message

func (*ComponentProtocol) Reset

func (x *ComponentProtocol) Reset()

func (*ComponentProtocol) String

func (x *ComponentProtocol) String() string

func (*ComponentProtocol) UnmarshalJSON

func (m *ComponentProtocol) UnmarshalJSON(b []byte) error

ComponentProtocol implement json.Marshaler.

func (*ComponentProtocol) UnmarshalURLValues

func (m *ComponentProtocol) UnmarshalURLValues(prefix string, values url.Values) error

ComponentProtocol implement urlenc.URLValuesUnmarshaler.

func (*ComponentProtocol) Validate

func (this *ComponentProtocol) Validate() error

type DebugOptions

type DebugOptions struct {

	// componentKey .
	ComponentKey string `protobuf:"bytes,1,opt,name=componentKey,proto3" json:"componentKey,omitempty"`
	// contains filtered or unexported fields
}

DebugOptions is debug options.

func (*DebugOptions) Descriptor deprecated

func (*DebugOptions) Descriptor() ([]byte, []int)

Deprecated: Use DebugOptions.ProtoReflect.Descriptor instead.

func (*DebugOptions) GetComponentKey

func (x *DebugOptions) GetComponentKey() string

func (*DebugOptions) MarshalJSON

func (m *DebugOptions) MarshalJSON() ([]byte, error)

DebugOptions implement json.Marshaler.

func (*DebugOptions) ProtoMessage

func (*DebugOptions) ProtoMessage()

func (*DebugOptions) ProtoReflect

func (x *DebugOptions) ProtoReflect() protoreflect.Message

func (*DebugOptions) Reset

func (x *DebugOptions) Reset()

func (*DebugOptions) String

func (x *DebugOptions) String() string

func (*DebugOptions) UnmarshalJSON

func (m *DebugOptions) UnmarshalJSON(b []byte) error

DebugOptions implement json.Marshaler.

func (*DebugOptions) UnmarshalURLValues

func (m *DebugOptions) UnmarshalURLValues(prefix string, values url.Values) error

DebugOptions implement urlenc.URLValuesUnmarshaler.

func (*DebugOptions) Validate

func (this *DebugOptions) Validate() error

type Hierarchy

type Hierarchy struct {

	// root component, required.
	Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	// structure means concrete structure of components.
	// value may be list or map.
	Structure map[string]*structpb.Value `` /* 159-byte string literal not displayed */
	// parallel defines parallel components.
	Parallel map[string]*structpb.Value `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Hierarchy represents components' hierarchy.

func (*Hierarchy) Descriptor deprecated

func (*Hierarchy) Descriptor() ([]byte, []int)

Deprecated: Use Hierarchy.ProtoReflect.Descriptor instead.

func (*Hierarchy) GetParallel

func (x *Hierarchy) GetParallel() map[string]*structpb.Value

func (*Hierarchy) GetRoot

func (x *Hierarchy) GetRoot() string

func (*Hierarchy) GetStructure

func (x *Hierarchy) GetStructure() map[string]*structpb.Value

func (*Hierarchy) MarshalJSON

func (m *Hierarchy) MarshalJSON() ([]byte, error)

Hierarchy implement json.Marshaler.

func (*Hierarchy) ProtoMessage

func (*Hierarchy) ProtoMessage()

func (*Hierarchy) ProtoReflect

func (x *Hierarchy) ProtoReflect() protoreflect.Message

func (*Hierarchy) Reset

func (x *Hierarchy) Reset()

func (*Hierarchy) String

func (x *Hierarchy) String() string

func (*Hierarchy) UnmarshalJSON

func (m *Hierarchy) UnmarshalJSON(b []byte) error

Hierarchy implement json.Marshaler.

func (*Hierarchy) UnmarshalURLValues

func (m *Hierarchy) UnmarshalURLValues(prefix string, values url.Values) error

Hierarchy implement urlenc.URLValuesUnmarshaler.

func (*Hierarchy) Validate

func (this *Hierarchy) Validate() error

type IdentityInfo

type IdentityInfo struct {

	// UserID is user id. It must be provided in some cases.
	// Cannot be null if InternalClient is null.
	// +optional
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// InternalClient records the internal client, such as: bundle.
	// Cannot be null if UserID is null.
	// +optional
	InternalClient string `protobuf:"bytes,2,opt,name=internalClient,proto3" json:"internalClient,omitempty"`
	// OrgID is org id. It must be provided in some cases.
	// +optional
	OrgID string `protobuf:"bytes,3,opt,name=orgID,proto3" json:"orgID,omitempty"`
	// contains filtered or unexported fields
}

IdentityInfo

func (*IdentityInfo) Descriptor deprecated

func (*IdentityInfo) Descriptor() ([]byte, []int)

Deprecated: Use IdentityInfo.ProtoReflect.Descriptor instead.

func (*IdentityInfo) GetInternalClient

func (x *IdentityInfo) GetInternalClient() string

func (*IdentityInfo) GetOrgID

func (x *IdentityInfo) GetOrgID() string

func (*IdentityInfo) GetUserID

func (x *IdentityInfo) GetUserID() string

func (*IdentityInfo) MarshalJSON

func (m *IdentityInfo) MarshalJSON() ([]byte, error)

IdentityInfo implement json.Marshaler.

func (*IdentityInfo) ProtoMessage

func (*IdentityInfo) ProtoMessage()

func (*IdentityInfo) ProtoReflect

func (x *IdentityInfo) ProtoReflect() protoreflect.Message

func (*IdentityInfo) Reset

func (x *IdentityInfo) Reset()

func (*IdentityInfo) String

func (x *IdentityInfo) String() string

func (*IdentityInfo) UnmarshalJSON

func (m *IdentityInfo) UnmarshalJSON(b []byte) error

IdentityInfo implement json.Marshaler.

func (*IdentityInfo) UnmarshalURLValues

func (m *IdentityInfo) UnmarshalURLValues(prefix string, values url.Values) error

IdentityInfo implement urlenc.URLValuesUnmarshaler.

func (*IdentityInfo) Validate

func (this *IdentityInfo) Validate() error

type ProtocolOptions

type ProtocolOptions struct {

	// sync interval second.
	SyncIntervalSecond float64 `protobuf:"fixed64,1,opt,name=syncIntervalSecond,proto3" json:"syncIntervalSecond,omitempty"`
	// contains filtered or unexported fields
}

ProtocolOptions .

func (*ProtocolOptions) Descriptor deprecated

func (*ProtocolOptions) Descriptor() ([]byte, []int)

Deprecated: Use ProtocolOptions.ProtoReflect.Descriptor instead.

func (*ProtocolOptions) GetSyncIntervalSecond

func (x *ProtocolOptions) GetSyncIntervalSecond() float64

func (*ProtocolOptions) MarshalJSON

func (m *ProtocolOptions) MarshalJSON() ([]byte, error)

ProtocolOptions implement json.Marshaler.

func (*ProtocolOptions) ProtoMessage

func (*ProtocolOptions) ProtoMessage()

func (*ProtocolOptions) ProtoReflect

func (x *ProtocolOptions) ProtoReflect() protoreflect.Message

func (*ProtocolOptions) Reset

func (x *ProtocolOptions) Reset()

func (*ProtocolOptions) String

func (x *ProtocolOptions) String() string

func (*ProtocolOptions) UnmarshalJSON

func (m *ProtocolOptions) UnmarshalJSON(b []byte) error

ProtocolOptions implement json.Marshaler.

func (*ProtocolOptions) UnmarshalURLValues

func (m *ProtocolOptions) UnmarshalURLValues(prefix string, values url.Values) error

ProtocolOptions implement urlenc.URLValuesUnmarshaler.

func (*ProtocolOptions) Validate

func (this *ProtocolOptions) Validate() error

type RenderRequest

type RenderRequest struct {

	// scenario of this render.
	Scenario *Scenario `protobuf:"bytes,1,opt,name=scenario,proto3" json:"scenario,omitempty"`
	// event of this render.
	// Optional.
	Event *ComponentEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// inParams contains passed in params from request caller.
	InParams map[string]*structpb.Value `` /* 157-byte string literal not displayed */
	// protocol represent protocol detail.
	// First time render is empty.
	// Optional.
	Protocol *ComponentProtocol `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// debugOptions contains options for debug.
	DebugOptions *DebugOptions `protobuf:"bytes,5,opt,name=debugOptions,proto3" json:"debugOptions,omitempty"`
	// contains filtered or unexported fields
}

RenderRequest is protocol render request.

func (*RenderRequest) Descriptor deprecated

func (*RenderRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenderRequest.ProtoReflect.Descriptor instead.

func (*RenderRequest) GetDebugOptions

func (x *RenderRequest) GetDebugOptions() *DebugOptions

func (*RenderRequest) GetEvent

func (x *RenderRequest) GetEvent() *ComponentEvent

func (*RenderRequest) GetInParams

func (x *RenderRequest) GetInParams() map[string]*structpb.Value

func (*RenderRequest) GetProtocol

func (x *RenderRequest) GetProtocol() *ComponentProtocol

func (*RenderRequest) GetScenario

func (x *RenderRequest) GetScenario() *Scenario

func (*RenderRequest) MarshalJSON

func (m *RenderRequest) MarshalJSON() ([]byte, error)

RenderRequest implement json.Marshaler.

func (*RenderRequest) ProtoMessage

func (*RenderRequest) ProtoMessage()

func (*RenderRequest) ProtoReflect

func (x *RenderRequest) ProtoReflect() protoreflect.Message

func (*RenderRequest) Reset

func (x *RenderRequest) Reset()

func (*RenderRequest) String

func (x *RenderRequest) String() string

func (*RenderRequest) UnmarshalJSON

func (m *RenderRequest) UnmarshalJSON(b []byte) error

RenderRequest implement json.Marshaler.

func (*RenderRequest) UnmarshalURLValues

func (m *RenderRequest) UnmarshalURLValues(prefix string, values url.Values) error

RenderRequest implement urlenc.URLValuesUnmarshaler.

func (*RenderRequest) Validate

func (this *RenderRequest) Validate() error

type RenderResponse

type RenderResponse struct {

	// scenario of this render.
	Scenario *Scenario `protobuf:"bytes,1,opt,name=scenario,proto3" json:"scenario,omitempty"`
	// protocol means rendered protocol detail.
	Protocol *ComponentProtocol `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

RenderResponse

func (*RenderResponse) Descriptor deprecated

func (*RenderResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenderResponse.ProtoReflect.Descriptor instead.

func (*RenderResponse) GetProtocol

func (x *RenderResponse) GetProtocol() *ComponentProtocol

func (*RenderResponse) GetScenario

func (x *RenderResponse) GetScenario() *Scenario

func (*RenderResponse) MarshalJSON

func (m *RenderResponse) MarshalJSON() ([]byte, error)

RenderResponse implement json.Marshaler.

func (*RenderResponse) ProtoMessage

func (*RenderResponse) ProtoMessage()

func (*RenderResponse) ProtoReflect

func (x *RenderResponse) ProtoReflect() protoreflect.Message

func (*RenderResponse) Reset

func (x *RenderResponse) Reset()

func (*RenderResponse) String

func (x *RenderResponse) String() string

func (*RenderResponse) UnmarshalJSON

func (m *RenderResponse) UnmarshalJSON(b []byte) error

RenderResponse implement json.Marshaler.

func (*RenderResponse) UnmarshalURLValues

func (m *RenderResponse) UnmarshalURLValues(prefix string, values url.Values) error

RenderResponse implement urlenc.URLValuesUnmarshaler.

func (*RenderResponse) Validate

func (this *RenderResponse) Validate() error

type Scenario

type Scenario struct {

	// scenarioKey is the key of scenario.
	// Required.
	ScenarioKey string `protobuf:"bytes,1,opt,name=scenarioKey,proto3" json:"scenarioKey,omitempty"`
	// scenarioType is the type of scenario.
	// Optional.
	ScenarioType string `protobuf:"bytes,2,opt,name=scenarioType,proto3" json:"scenarioType,omitempty"`
	// contains filtered or unexported fields
}

Scenario represents protocol scenario.

func (*Scenario) Descriptor deprecated

func (*Scenario) Descriptor() ([]byte, []int)

Deprecated: Use Scenario.ProtoReflect.Descriptor instead.

func (*Scenario) GetScenarioKey

func (x *Scenario) GetScenarioKey() string

func (*Scenario) GetScenarioType

func (x *Scenario) GetScenarioType() string

func (*Scenario) MarshalJSON

func (m *Scenario) MarshalJSON() ([]byte, error)

Scenario implement json.Marshaler.

func (*Scenario) ProtoMessage

func (*Scenario) ProtoMessage()

func (*Scenario) ProtoReflect

func (x *Scenario) ProtoReflect() protoreflect.Message

func (*Scenario) Reset

func (x *Scenario) Reset()

func (*Scenario) String

func (x *Scenario) String() string

func (*Scenario) UnmarshalJSON

func (m *Scenario) UnmarshalJSON(b []byte) error

Scenario implement json.Marshaler.

func (*Scenario) UnmarshalURLValues

func (m *Scenario) UnmarshalURLValues(prefix string, values url.Values) error

Scenario implement urlenc.URLValuesUnmarshaler.

func (*Scenario) Validate

func (this *Scenario) Validate() error

type UnimplementedCPServiceServer

type UnimplementedCPServiceServer struct {
}

UnimplementedCPServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedCPServiceServer) Render

Jump to

Keyboard shortcuts

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