...

Source file src/gitlab.com/tslocum/sriracha/extension/core.go

Documentation: gitlab.com/tslocum/sriracha/extension

     1  package extension
     2  
     3  import (
     4  	"io"
     5  
     6  	"gitlab.com/tslocum/sriracha"
     7  )
     8  
     9  type Core struct {
    10  }
    11  
    12  func NewCore() *Core {
    13  	core := &Core{}
    14  
    15  	return core
    16  }
    17  
    18  func (c *Core) Start() error {
    19  	return nil
    20  }
    21  
    22  func (c *Core) Attach(file io.Reader, size int64, mime string) (*sriracha.Attachment, error) {
    23  	return nil, nil
    24  }
    25  
    26  func (c *Core) Post() error {
    27  	return nil
    28  }
    29  
    30  func (c *Core) Stop() error {
    31  	return nil
    32  }
    33  

View as plain text