service

package
v0.0.0-...-9a5c20e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: BSD-3-Clause Imports: 1 Imported by: 25

README

service

import "github.com/blueprint-uservices/blueprint/blueprint/pkg/coreplugins/service"

Index

type Method

type Method interface {
    GetName() string
    GetArguments() []Variable
    GetReturns() []Variable
}

type ServiceInterface

type ServiceInterface interface {
    GetName() string
    GetMethods() []Method
}

type ServiceNode

Any IR node that represents a callable service should implement this interface.

type ServiceNode interface {

    // Returns the interface of this service
    GetInterface(ctx ir.BuildContext) (ServiceInterface, error)
}

type Variable

type Variable interface {
    GetName() string
    GetType() string // a "well-known" type
}

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method interface {
	GetName() string
	GetArguments() []Variable
	GetReturns() []Variable
}

type ServiceInterface

type ServiceInterface interface {
	GetName() string
	GetMethods() []Method
}

type ServiceNode

type ServiceNode interface {

	// Returns the interface of this service
	GetInterface(ctx ir.BuildContext) (ServiceInterface, error)
}

Any IR node that represents a callable service should implement this interface.

type Variable

type Variable interface {
	GetName() string
	GetType() string // a "well-known" type
}

Jump to

Keyboard shortcuts

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